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/04 20:15:21 UTC

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

Tobias Bocanegra created JCRVLT-41:
--------------------------------------

             Summary: 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


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)