Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Duplicate
-
3.1.28
-
None
-
None
Description
In [0], it is stated that with ImportMode.MERGE option;
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)
if (name.length() == 0 || parent.hasNode(name)) { if (wspFilter.getImportMode(path) == ImportMode.MERGE) { // do import the content if node is an authorizable or ACL
Attachments
Attachments
Issue Links
- duplicates
-
JCRVLT-255 ImportModes act on file serialization level not on node level
- Closed
- relates to
-
JCRVLT-255 ImportModes act on file serialization level not on node level
- Closed