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

Marius Petria commented on JCRVLT-64:
-------------------------------------

The issue seems to be caused by the fact that user nodes are created by 
JcrSysViewTransformer and the DocViewSAXImporter only adds to the importInfo 
the user node, and it does not add the children. That leads in the end the 
profile to be deleted by the ImporterImpl as it is not detected to be already 
processed.



> Nodes that have a user parent are not installed if they are in the same 
> .content.xml as their parent
> ----------------------------------------------------------------------------------------------------
>
>                 Key: JCRVLT-64
>                 URL: https://issues.apache.org/jira/browse/JCRVLT-64
>             Project: Jackrabbit FileVault
>          Issue Type: Bug
>            Reporter: Marius Petria
>         Attachments: newuser.zip, profile.zip
>
>
> An artifact for an user node that also contains another child node is not 
> installed correctly. Only the user is installed and not the profile.
> {code}
> <jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0"; 
> xmlns:jcr="http://www.jcp.org/jcr/1.0"; 
> xmlns:nt="http://www.jcp.org/jcr/nt/1.0"; xmlns:rep="internal"
>     jcr:mixinTypes="[rep:AccessControllable]"
>     jcr:primaryType="rep:User"
>     jcr:uuid="0354d89c-28ec-399c-80d3-cb2d094cf093"
>     rep:authorizableId="newuser"
>     
> rep:password="\{SHA-256}8628e1f645c2073a-1000-9db3a1f8cddca62bbde8aae52832378c061498598ef833aaa209c1c836704db0"
>     rep:principalName="newuser">
>     <profile
>         jcr:primaryType="nt:unstructured"
>         sling:resourceType="cq/security/components/profile"
>         givenName="MM">
>         <photos/>
>     </profile>
> </jcr:root>
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to