Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-1965

mixin types should not be allowed to inherit non-mixin types

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 3.4.0.Final, 3.3.x-prod-ip6.0
    • 3.3.0.Final
    • JCR
    • None

    Description

      Section 3.5.7.2 of the JSR-283 specification (aka, "JCR 2.0") states:

      A mixin node type may have one or more supertypes, which must also be mixin types.

      At the moment however, ModeShape does not perform any kind of validation in this regard, allowing a mixin type to inherit from a non-mixin type.
      We should add this validation so that an error is raised during type registration if the above case occurs.

      Attachments

        Issue Links

          Activity

            People

              hchiorean Horia Chiorean (Inactive)
              hchiorean Horia Chiorean (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: