You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2021/08/19 16:25:00 UTC

[jira] [Updated] (OAK-9541) ItemExistsException: "Node with the same UUID exists" thrown during SysView import with existing different UUID

     [ https://issues.apache.org/jira/browse/OAK-9541?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konrad Windszus updated OAK-9541:
---------------------------------
    Summary: ItemExistsException: "Node with the same UUID exists" thrown during SysView import with existing different UUID  (was: ItemExistsException thrown during SysView import with ImportUUIDBehavior.IMPORT_UUID_COLLISION_REMOVE_EXISTING)

> ItemExistsException: "Node with the same UUID exists" thrown during SysView import with existing different UUID
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: OAK-9541
>                 URL: https://issues.apache.org/jira/browse/OAK-9541
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: jcr
>    Affects Versions: 1.40.0
>            Reporter: Konrad Windszus
>            Priority: Major
>
> 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:
> {code}
>  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]
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)