-
Bug
-
Resolution: Won't Do
-
Blocker
-
3.6.0.Final
-
None
If we try to clone node which has autocreated mandatory subnodes exception is thrown
javax.jcr.nodetype.ConstraintViolationException: The node at "/a/autocreatedChildren/Eeee" with UUID "820c8b2a-991e-4fa8-af41-e5fbfb419c0a" exists in the current workspace but cannot be removed because it is a mandatory child node
Clone method is called like:
workspace.clone(workspace.getName(), "/a/autocreatedChildren", "/b/clone", false);
Segment of java doc from clone method:
*removeExisting* if false then this method throws an ItemExistsException on identifier conflict with an incoming node.
Another exception is thrown
- is related to
-
MODE-2115 Error copying nodes with autocreated subnodes
- Closed