[ https://issues.apache.org/jira/browse/JCRVLT-251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16294812#comment-16294812 ]
Tobias Bocanegra commented on JCRVLT-251: ----------------------------------------- vault doesn't use the exact jcr docview. for example the property type is encoded in the value, which is not specified by JCR. and I frankly don't want to change the behavior if it intrododuces backward compatibility problems; such as i.e. installing packages would suddently recreate many default nodes and potentially fail, if mandatory properties are missing. > 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 > > 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 (v6.4.14#64029)