You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2021/10/05 14:26:01 UTC
[jira] [Closed] (JCRVLT-551) Set jcr:uuid to value from package
when updating node
[ https://issues.apache.org/jira/browse/JCRVLT-551?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Konrad Windszus closed JCRVLT-551.
----------------------------------
> Set jcr:uuid to value from package when updating node
> -----------------------------------------------------
>
> Key: JCRVLT-551
> URL: https://issues.apache.org/jira/browse/JCRVLT-551
> Project: Jackrabbit FileVault
> Issue Type: Improvement
> Components: vlt
> Affects Versions: 3.5.0
> Reporter: Konrad Windszus
> Assignee: Konrad Windszus
> Priority: Major
> Fix For: 3.5.4
>
>
> 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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)