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

Konrad Windszus commented on SLING-6701:
----------------------------------------

Thanks for the feedback, [[email protected]].
Regarding
bq. "Otherwise, it loads the content given in SLING-INF/content/home into root 
node /." 

This seems to be just plain wrong. The target path is either the default (i.e. 
root) or the given {{path}} no matter whether it exists or not. The according 
code can be found in 
https://github.com/apache/sling/blob/4df9ab2d6592422889c71fa13afd453a10a5a626/bundles/jcr/contentloader/src/main/java/org/apache/sling/jcr/contentloader/internal/BundleContentLoader.java#L587.
 Missing intermediate nodes are created with type {{sling:Folder}}. So I am 
gonna remove that sentence as well.

> Clarify documentation for JCR Content Loader 
> (https://sling.apache.org/documentation/bundles/content-loading-jcr-contentloader.html)
> ------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SLING-6701
>                 URL: https://issues.apache.org/jira/browse/SLING-6701
>             Project: Sling
>          Issue Type: Improvement
>          Components: JCR, Site
>            Reporter: Konrad Windszus
>            Assignee: Konrad Windszus
>         Attachments: content-loading-jcr-contentloader-SLING-6701-v01.html, 
> SLING-6701-v01.patch
>
>
> Compare with http://www.mail-archive.com/[email protected]/msg66056.html.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to