cnd
nodetypes
Developer
System Administrator
Jahia 7.3
Jahia 8
Legacy
Updates on definitons.cnd not visibles
Question
The customer has renamed some node types in his definitons.cnd
file. However, the original node types are still available in Edit mode.
These nodes are present under this JCR path: /jcr:system/jcr:nodeTypes/
The customer has tried to remove the nodes from this path via the JCR Browser but he got this exception:
javax.jcr.nodetype.ConstraintViolationException: Unable to perform operation. Node is protected : /jcr:system/jcr:nodeTypes/ea:lastNewsexpress
Cause
All node types under /jcr:system/jcr:nodeTypes/
cannot be removed as these nodes are protected.
Solution
The solution is to remove the node types via the Installed definitions browser
tool in Jahia tools.
The procedure is the following one:
- Tools: http://localhost:8080/tools
- Click to the "Installed definitions browser" link
- Look for your module
- Remove the node types