Description
When trying to import a node via SysViewImportHandler which already exists at the same path with a different (but non-referenced UUID) in the repo the following exception can be observed:
javax.jcr.ItemExistsException: Node with the same UUID exists:/tmp/referenceable/child: { jcr:primaryType = nt:unstructured} at org.apache.jackrabbit.oak.jcr.xml.ImporterImpl.startNode(ImporterImpl.java:426) ~[oak-jcr-1.40.0.jar:1.40.0] at org.apache.jackrabbit.oak.jcr.xml.SysViewImportHandler.processNode(SysViewImportHandler.java:81) ~[oak-jcr-1.40.0.jar:1.40.0] at org.apache.jackrabbit.oak.jcr.xml.SysViewImportHandler.endElement(SysViewImportHandler.java:221) ~[oak-jcr-1.40.0.jar:1.40.0] at org.apache.jackrabbit.oak.jcr.xml.ImportHandler.endElement(ImportHandler.java:197) ~[oak-jcr-1.40.0.jar:1.40.0]
Attachments
Issue Links
- relates to
-
JCR-1128 XML import always throws ItemExistsException when trying to overwrite existing nodes
- Closed
-
JCRVLT-551 Set jcr:uuid to value from package when updating node
- Closed
- links to