[
https://issues.apache.org/jira/browse/JCRVLT-881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18150376#comment-18150376
]
Christian Schneider commented on JCRVLT-881:
--------------------------------------------
Successfully validated the combined import and export fixes in AEM using a
synthetic folder hierarchy. All six publication cases passed: selecting the
top-level, intermediate or nested folder, each with and without explicitly
included descendants. Expected descendant content was preserved on all
inspected publication destinations.
The synthetic fixture includes folder-owned jcr:content to exercise the
separate-serialization condition. An unfixed FileVault 4.2.0 control reproduced
descendant deletion on the first root-only publication and was stopped; the
identical fixture passed with both fixes present.
This validates the fixes together, not each independently. Testing used
publication API requests, not browser UI interactions.
> Binary-less default config still declares the removed nodetype aggregate,
> which absorbs folder hierarchies
> ----------------------------------------------------------------------------------------------------------
>
> Key: JCRVLT-881
> URL: https://issues.apache.org/jira/browse/JCRVLT-881
> Project: Jackrabbit FileVault
> Issue Type: Bug
> Components: core
> Reporter: Christian Schneider
> Assignee: Konrad Windszus
> Priority: Major
> Fix For: 4.3.1
>
>
> {{defaultConfig-1.1-binaryless.xml}} still declares {{<aggregate
> type="nodetype"/>}}, which was removed from {{defaultConfig-1.1.xml}}
> together with the dedicated node type aggregator. {{Registry}} now maps
> {{nodetype}} to {{GenericAggregator}}. Without match or contains filters, it
> matches every node. It sits before the folder and default aggregates. During
> binary-less export (package property {{useBinaryReferences=true}}) it
> therefore absorbs nt:folder-like nodes and inlines their descendant hierarchy
> levels into an ancestor {{.content.xml}}.
> A descendant that has a {{jcr:content}} child is still matched earlier by the
> file/folder aggregate and serialized in its own {{.content.xml}}. If its
> parent is not orderable, the ancestor document contains no placeholder for
> it. On REPLACE import with a filter that covers that node, the ancestor
> document removes it and its own document recreates it. Descendants excluded
> by the filter are lost (see JCRVLT-880 for the import side). Ordinary
> (non-binary-less) export of the same content produces one {{.content.xml}}
> per folder level and is not affected.
> Expected: binary-less export uses the same aggregation as ordinary export,
> except for binary handling.
> Fix: remove the obsolete {{nodetype}} aggregate from
> {{defaultConfig-1.1-binaryless.xml}}.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)