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

angela edited comment on OAK-2246 at 3/26/15 2:52 PM:
------------------------------------------------------

i partially reverted the changes made with OAK-1037 in my local checkout and 
the commented 'transient' test passes. so, there it really looks like something 
is wrong with the changes made in OAK-1037.


was (Author: anchela):
i partially reverted the changes made with OAK-1037 and the commented 
'transient' test passes. so, there it really looks like something is wrong with 
the changes made in OAK-1037.

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

Reply via email to