jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Marth (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OAK-2246) UUID collision check is not does not work in transient space
Date Tue, 10 Mar 2015 16:38:38 GMT

     [ https://issues.apache.org/jira/browse/OAK-2246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Michael Marth updated OAK-2246:
-------------------------------
    Fix Version/s:     (was: 1.2)
                   1.4

> 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)

Mime
View raw message