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 "angela (JIRA)" <ji...@apache.org> on 2015/03/10 17:38:39 UTC

[jira] [Commented] (OAK-2246) UUID collision check is not does not work in transient space

    [ https://issues.apache.org/jira/browse/OAK-2246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14355164#comment-14355164 ] 

angela commented on OAK-2246:
-----------------------------

[~anchela], to look on whether  OAK-1037 is the cuprit.

> UUID collision check is not does not work in transient space
> ------------------------------------------------------------
>
>                 Key: OAK-2246
>                 URL: https://issues.apache.org/jira/browse/OAK-2246
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: jcr
>    Affects Versions: 1.1.1
>            Reporter: Tobias Bocanegra
>            Assignee: Chetan Mehrotra
>             Fix For: 1.4
>
>
> I think OAK-1037 broke the system view import.
> test case:
> 1. create a new node with a uuid (referenceable, or new user)
> 2. import systemview with IMPORT_UUID_COLLISION_REPLACE_EXISTING
> 3. save()
> result:
> {noformat}
> javax.jcr.nodetype.ConstraintViolationException: OakConstraint0030: Uniqueness constraint violated at path [/] for one of the property in [jcr:uuid] having value e358efa4-89f5-3062-b10d-d7316b65649e
> {noformat}
> expected:
> * imported content should replace the existing node - even in transient space.
> note:
> * if you perform a save() after step 1, everything works.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)