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

Tobias Bocanegra commented on JCRVLT-87:
----------------------------------------

added test cases in 1671002.

_unfortunately_ the test cases can't reproduce the issue. probably because they 
invoke RCP directly on the repository and not via davex.
I think the problem is in davex, such as the mixin is removed before the 
properties. when the mixin is removed, jackrabbit automatically removes the now 
non-declared properties (jcr:lastModified in this example). later when davex 
also wants to perform the removal of the property, it is already gone. cc 
[~anchela]

> rcp fails when removing a mixin during an update operation
> ----------------------------------------------------------
>
>                 Key: JCRVLT-87
>                 URL: https://issues.apache.org/jira/browse/JCRVLT-87
>             Project: Jackrabbit FileVault
>          Issue Type: Bug
>          Components: RCP
>            Reporter: Tobias Bocanegra
>
> vault rcp fails to remove undeclared properties when removing a mixin during 
> an update operation.
> steps to reproduce:
> 1. create a node that does not define residual properties, eg nt:file
> 2. add a mixin eg jcr:lastModified with its properties
> 3. rcp the node to a target location.
> 4. remove the mixin and the properties again from the source node
> 5. rcp -u the node again -> IllegalItemStateException because vlt only 
> removes the mixin but not the non undeclared properties.



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

Reply via email to