Details
-
Bug
-
Resolution: Done
-
Blocker
-
3.3.0.Final
-
None
Description
After import of an workspace.xml file of a modeshape 2.8 repo into 3.3 following error is thrown:
javax.jcr.nodetype.ConstraintViolationException: No valid property definition on node '/brix:root/brix:web/brix:globalContainer' with primary type 'nt:file' and mixin types [] for the property: brix:nodeType="brix:globalContainer" at org.modeshape.jcr.AbstractJcrNode.propertyDefinitionFor(AbstractJcrNode.java:479) at org.modeshape.jcr.AbstractJcrNode.createJcrProperty(AbstractJcrNode.java:395)
The same import into modeshape 2.x, or 3.1, 3.2 works as intended (though 3.1 and 3.2 have other flaws);
The reported error leads to wrong checking or wrong done import as the blamed resource above lists as follows in the workspace.xml (only beginning here, mixinTypes-def is line 3 as brix:node):
<sv:node sv:name="brix:globalContainer"> <sv:property sv:name="jcr:primaryType" sv:type="Name"> <sv:value>nt:file</sv:value> </sv:property> <sv:property sv:name="jcr:mixinTypes" sv:type="Name" sv:multiple="true"> <sv:value>brix:node</sv:value> </sv:property> <sv:property sv:name="jcr:uuid" sv:type="String"> <sv:value>517326c9-05a5-462d-920f-5e730aaef6e6</sv:value> </sv:property> <sv:property sv:name="brix:lastModifiedBy" sv:type="String"> <sv:value><anonymous></sv:value> </sv:property> <sv:property sv:name="jcr:createdBy" sv:type="String"> <sv:value><anonymous></sv:value> </sv:property> ....
Attachments
Issue Links
- is related to
-
MODE-1965 mixin types should not be allowed to inherit non-mixin types
- Closed