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 "Tobias Bocanegra (JIRA)" <ji...@apache.org> on 2014/10/29 18:17:34 UTC

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

Tobias Bocanegra created OAK-2246:
-------------------------------------

             Summary: 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
    Affects Versions: 1.1.1
            Reporter: Tobias Bocanegra
            Assignee: Chetan Mehrotra


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)