Details
-
Bug
-
Resolution: Done
-
Major
-
3.2.0.Final
-
None
Description
Removing a previously-defined property definition from a registered node type using the node type templates mechanism results in an exception:
org.modeshape.jcr.cache.NodeNotFoundInParentException: Cannot locate child node: 7d98ad9317f1e7/jcr:system/jcr:nodeTypes/{http???www.mycompany.com?dms?mix?1.0}filecontent/{http???www.mycompany.com?dms?mix?1.0}removeMe/String/1 within parent: 7d98ad9317f1e7/jcr:system/jcr:nodeTypes/{http???www.mycompany.com?dms?mix?1.0}filecontent
at org.modeshape.jcr.cache.document.SessionNode.getSegment(SessionNode.java:417)
at org.modeshape.jcr.cache.document.SessionNode.getPath(SessionNode.java:449)
at org.modeshape.jcr.cache.PathCache.getPath(PathCache.java:49)
at org.modeshape.jcr.cache.document.WritableSessionCache.persistChanges(WritableSessionCache.java:852)
at org.modeshape.jcr.cache.document.WritableSessionCache.save(WritableSessionCache.java:382)
at org.modeshape.jcr.cache.document.WritableSessionCache.save(WritableSessionCache.java:347)
at org.modeshape.jcr.SystemContent.save(SystemContent.java:112)
at org.modeshape.jcr.RepositoryNodeTypeManager.registerNodeTypes(RepositoryNodeTypeManager.java:523)
at org.modeshape.jcr.RepositoryNodeTypeManager.registerNodeType(RepositoryNodeTypeManager.java:377)
at org.modeshape.jcr.JcrNodeTypeManager.registerNodeType(JcrNodeTypeManager.java:489)