You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Tobias Bocanegra (JIRA)" <ji...@apache.org> on 2014/03/06 22:39:45 UTC

[jira] [Resolved] (JCRVLT-41) ImportMode=UPDATE deletes existing nodes

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

Tobias Bocanegra resolved JCRVLT-41.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 3.1

fixed in r1575052

> ImportMode=UPDATE deletes existing nodes
> ----------------------------------------
>
>                 Key: JCRVLT-41
>                 URL: https://issues.apache.org/jira/browse/JCRVLT-41
>             Project: Jackrabbit FileVault
>          Issue Type: Bug
>    Affects Versions: 3.0
>            Reporter: Tobias Bocanegra
>            Assignee: Tobias Bocanegra
>             Fix For: 3.1
>
>
> installing a package with a node {{/tmp/foo/b}} and the filter
> {code}
> <workspaceFilter version="1.0">
>     <filter root="/tmp/foo" mode="update"/>
> </workspaceFilter>
> {code}
> removes an existing node {{/tmp/foo/a}} which is wrong according to the javadoc of {{ImportMode.UPDATE}}:
> {code}
>     /**
>      * Existing content is updated, new content is added and none is deleted.
>      */
>     UPDATE
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)