jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tobias Bocanegra (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (JCRVLT-41) ImportMode=UPDATE deletes existing nodes
Date Thu, 06 Mar 2014 21:39:45 GMT

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

Mime
View raw message