You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2020/01/08 08:32:00 UTC

[jira] [Updated] (JCRVLT-124) Inconsistent behaviour of ImportMode.MERGE

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

Konrad Windszus updated JCRVLT-124:
-----------------------------------
    Fix Version/s: 3.4.4

> Inconsistent behaviour of ImportMode.MERGE
> ------------------------------------------
>
>                 Key: JCRVLT-124
>                 URL: https://issues.apache.org/jira/browse/JCRVLT-124
>             Project: Jackrabbit FileVault
>          Issue Type: Bug
>          Components: Misc
>    Affects Versions: 3.1.28
>            Reporter: Ilyas Türkben
>            Assignee: Tobias Bocanegra
>            Priority: Minor
>             Fix For: 3.4.4
>
>         Attachments: example-1.zip, example-2.zip
>
>
> In \[0], it is stated that with {{ImportMode.MERGE}} option;
> bq.Existing content is not modified, i.e. only new content is added and none is deleted or modified.
> however in the code \[1], it imports the content only “if node is an authorizable or ACL”.
> Is it a documentation issue or implementation issue ? Which behavior the customer should expected?
> *Steps to reproduce are available:*
> # Install [^example-1.zip]
> # Install [^example-2.zip]
> Expected: apps/i18n/en/example2 should be created
> Outcome: Node is not created
>  
> \[0] - [http://jackrabbit.apache.org/filevault/importmode.html]
>  
> \[1] {{org.apache.jackrabbit.vault.fs.impl.io.GenericArtifactHandler.accept(WorkspaceFilter, Node, String, ArtifactSetImpl)}}
> {code:java}
> if (name.length() == 0 || parent.hasNode(name)) {
>                 if (wspFilter.getImportMode(path) == ImportMode.MERGE) {
>                     // do import the content if node is an authorizable or ACL
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)