[MAGNOLIA-6651] Mixins cannot have non-mixin supertype according to JCR specification Created: 02/May/16  Updated: 09/Feb/17  Resolved: 09/May/16

Status: Closed
Project: Magnolia
Component/s: None
Affects Version/s: None
Fix Version/s: 5.5

Type: Epic Priority: Neutral
Reporter: Robert Šiška Assignee: Robert Šiška
Resolution: Fixed Votes: 0
Labels: jcr, modeshape, nodetype
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Epic Name: Fix mixin hierarchy
Acceptance criteria:
Empty
Release notes required:
Yes
Sprint: Kromeriz 43
Story Points: 8

 Description   

Section 3.7.5.2 (Mixins and Inheritance) 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.

However, our mixins have the non-mixin nt:base as a supertype.

Jackrabbit doesn't mind, but ModeShape performs validation of the inheritance when registering the nodetype.


Generated at Mon Feb 12 04:16:32 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.