[ 
https://issues.apache.org/jira/browse/SLING-1561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12880396#action_12880396
 ] 

Justin Edelson commented on SLING-1561:
---------------------------------------

Looking at this, I'm thinking we should just make it so that if path is not 
"/", then the ROOT descriptor should modify the properties of the parent node, 
not the root node. If I have a header like:
content;overwrite:=true;uninstall:=true;path:=/content/testing

and content/ROOT.json exists, it is IMHO very non-intuitive that the contents 
of ROOT.json are actually applied to the root node, not /content/testing

> Allow the Sling Initial ContentLoader to set parent node properties
> -------------------------------------------------------------------
>
>                 Key: SLING-1561
>                 URL: https://issues.apache.org/jira/browse/SLING-1561
>             Project: Sling
>          Issue Type: New Feature
>    Affects Versions: JCR ContentLoader 2.0.8
>            Reporter: Josh Kennedy
>             Fix For: JCR Contentloader 2.0.6
>
>         Attachments: Loader.patch
>
>
> Using the content loader, if the target install directory is a new or an 
> existing node, add the ability to set it's properties.
> Example:
> content;overwrite:=true;uninstall:=true;path:=/content/testing
> Add a PARENT_NODE descriptor in the source content folder that would modify 
> the properties of the parent (/content/testing) just like the ROOT descriptor 
> does.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to