[
https://issues.apache.org/jira/browse/JCRVLT-251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tobias Bocanegra resolved JCRVLT-251.
-------------------------------------
Resolution: Won't Fix
I estimate the potential backward compatibility risk as too high to change this
behaviour.
I added it to the documentation via JCRVLT-132
> Child nodes mentioned in parent node's docview xml are not cleared correctly
> during installation
> ------------------------------------------------------------------------------------------------
>
> Key: JCRVLT-251
> URL: https://issues.apache.org/jira/browse/JCRVLT-251
> Project: Jackrabbit FileVault
> Issue Type: Bug
> Components: Packaging
> Affects Versions: 3.1.42
> Reporter: Konrad Windszus
> Priority: Major
> Fix For: 3.1.44
>
>
> If a repository contains the following structure
> {code}
> + testroot [nt:unstructured]
> + testchild [nt:unstructured]
> - property: value (String)
> {code}
> And a package is being installed there containing a {{.content.xml}} file
> below folder {{/testroot}} with the following content only
> {code}
> <?xml version="1.0" encoding="UTF-8"?>
> <jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0"
> xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:rep="internal"
> jcr:primaryType="nt:unstructured">
> <testchild/>
> </jcr:root>
> {code}
> and a {{filter.xml}} like this
> {code}
> <?xml version="1.0" encoding="UTF-8"?>
> <workspaceFilter version="1.0">
> <filter root="/testroot" mode="replace"/>
> </workspaceFilter>
> {code}
> and apart from that no further files/folders, the repository child node at
> {{/testroot/testchild}} is not correctly cleared, i.e. the property with name
> "property" and value "value" is still there after installation.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)