You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Konrad Windszus (JIRA)" <ji...@apache.org> on 2017/12/07 17:47:00 UTC

[jira] [Comment Edited] (JCRVLT-251) Child nodes mentioned in parent node's docview xml are not cleared correctly during installation

    [ https://issues.apache.org/jira/browse/JCRVLT-251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16282214#comment-16282214 ] 

Konrad Windszus edited comment on JCRVLT-251 at 12/7/17 5:46 PM:
-----------------------------------------------------------------

It is not 100% clear what is supposed to be expected with respect to the node {{testchild}} itself. Either that one 
# should be recreated without any properties with the default jcr:primaryType or 
# this node should not be created at all as usually the empty nodes in docview files are only used for ordering purposes.


was (Author: kwin):
It is not 100% clear what is supposed to be expected with respect to the node {{testchild}} itself. Either that one should be recreated without any properties with the default jcr:primaryType or this node should not be created at all as usually the empty nodes in docview files are only used for ordering purposes.

> 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 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)