Description
Currently the code at https://github.com/apache/jackrabbit-filevault/blob/ac74458a0226eb503d96cf2b238cec78b6f36dc2/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/impl/io/DocViewSAXImporter.java#L809 does not try to adjust the jcr:uuid property in case a referenceable node is imported from a package which already exists (potentially with a different jcr:uuid) in the repository.
This contradicts the contract from the javadoc https://github.com/apache/jackrabbit-filevault/blob/c612dda36895d379ec57f6d2834158ea513f2967/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/impl/io/DocViewSAXImporter.java#L88 and might be problematic if code is relying on the node identifier for looking up nodes.
Attachments
Issue Links
- breaks
-
JCRVLT-584 Forcing UUID on packages may break previously installable packages
-
- Closed
-
- is related to
-
OAK-9546 Node.getReferences() not working for moved referenceable node
-
- Open
-
-
OAK-9541 ItemExistsException: "Node with the same UUID exists" thrown during SysView import with existing different UUID
-
- Closed
-
- relates to
-
OAK-685 Enforce referential integrity for referenceable nodes
-
- Closed
-
-
JCRVLT-85 Import behaviour not always correct in case of conflicting node IDs
-
- Closed
-
-
JCRVLT-685 ImportMode REPLACE vs IdConflictPolicy LEGACY vs stashing
-
- Closed
-
- links to