Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent hierarchy during C3 merge of class 'SemanticWeb::Schema::Dentist' #5

Open
mreitinger opened this issue Jan 13, 2021 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@mreitinger
Copy link

SemanticWeb::Schema::Dentist currently fails with Inconsistent hierarchy during C3 merge of class 'SemanticWeb::Schema::Dentist'.

The extends seems to be incorrect.

Version: v11.01.0
Perl: perl5 (revision 5 version 26 subversion 1)
OS: OpenSuSE Leap 15.2

perl -MSemanticWeb::Schema::Dentist -e 'print SemanticWeb::Schema::Dentist->new({})->json_ld;'
Inconsistent hierarchy during C3 merge of class 'SemanticWeb::Schema::Dentist':
        current merge results [
                SemanticWeb::Schema::Dentist,
        ]
        merging failed on 'SemanticWeb::Schema::LocalBusiness' at /usr/lib/perl5/5.26.1/x86_64-linux-thread-multi/mro.pm line 35.

other modules work as expected:

perl -MSemanticWeb::Schema::Physician -e 'print SemanticWeb::Schema::Physician->new({})->json_ld;'
{
   "@context" : "http://schema.org/",
   "@type" : "Physician"
}
@robrwo robrwo added the bug Something isn't working label Jan 14, 2021
@robrwo
Copy link
Owner

robrwo commented Jan 14, 2021

Confirmed. That's because it is both a MedicalBusiness and LocalBusiness.

@robrwo robrwo self-assigned this Jan 14, 2021
@robrwo
Copy link
Owner

robrwo commented Jan 26, 2021

I am releasing a temporary fix until I fix the schema generation script

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants