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 "Julian Reschke (Jira)" <ji...@apache.org> on 2024/08/15 11:09:00 UTC
[jira] [Comment Edited] (OAK-11018) doc: clarify warning about setting jcr:uuid on non-referenceable nodes
[ https://issues.apache.org/jira/browse/OAK-11018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17873891#comment-17873891 ]
Julian Reschke edited comment on OAK-11018 at 8/15/24 11:08 AM:
----------------------------------------------------------------
[~thomasm], [~nuno.santos] - it would be great to get your opinion wrt how this would affect the UUID index (specifically, allowing to change jcr:uuid when mix:ref is added before saving).
was (Author: reschke):
[~thomasm], [~nuno.santos] - it would be great to get your opinion wrt how this would affect the UUID index (specifically, allowing to change jcr:uuid when mix:ref is assed before saving).
> doc: clarify warning about setting jcr:uuid on non-referenceable nodes
> ----------------------------------------------------------------------
>
> Key: OAK-11018
> URL: https://issues.apache.org/jira/browse/OAK-11018
> Project: Jackrabbit Oak
> Issue Type: Documentation
> Components: doc
> Reporter: Julian Reschke
> Assignee: Julian Reschke
> Priority: Minor
>
> [https://jackrabbit.apache.org/oak/docs/differences.html#Identifiers] says (as per change in OAK-2164):
> {quote}Manually adding a property with the name jcr:uuid to a non referenceable node might have unexpected effects as Oak maintains an unique index on jcr:uuid properties. As the namespace jcr is reserved, doing so is strongly discouraged.
> {quote}
> But the tests for OAK-11000 show that this just works as "expected in Oak" (throwing an exception even though no mix:referenceable is present) - as the UUID index is maintained even for nodes that do not have mix:referenceable.
> Should we remove or rephrase that warning?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)