[
https://issues.apache.org/jira/browse/JCRVLT-569?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17440949#comment-17440949
]
Konrad Windszus commented on JCRVLT-569:
----------------------------------------
That is an edge case where the filter root node does not contain any
serialisation in the package. In that case it is deleted irrespective of its
import mode. That is a bug and should indeed be fixed. The workaround is simple
though: Never add filter roots with merge import modes on levels which don't
exist in the package.
> Import mode "MERGE" and "MERGE_PROPERTIES" still remove properties during
> import
> --------------------------------------------------------------------------------
>
> Key: JCRVLT-569
> URL: https://issues.apache.org/jira/browse/JCRVLT-569
> Project: Jackrabbit FileVault
> Issue Type: Bug
> Components: vlt
> Affects Versions: 3.5.4
> Reporter: Ankita Agarwal
> Priority: Major
> Attachments: test1.zip, test2-merge-properties-1.0-SNAPSHOT.zip
>
>
> Although it is clearly stated in
> "https://jackrabbit.apache.org/filevault/importmode.html" that no content
> should be deleted for "MERGE", this still happens.
> I have tried with "MERGE_PROPERTIES" mode as well.
> # First, install test1.zip.
> # It will create nodes under -> /content/dam/de
> # then install test2-merge-properties-1.0-SNAPSHOT
> # It will delete all the nodes under /content/dam/de
> Filter used:
> <filter root="/content/dam/de" mode="merge_properties" />
>
> [~kwin] / [~tripod] Please check if you can help with this.
> h4.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)