[
https://issues.apache.org/jira/browse/SLING-694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12639111#action_12639111
]
Mike Pfaff commented on SLING-694:
----------------------------------
Just tried it with this config:
CQ-INF/content/etc/designs/xyz.json;overwrite:=true;path:=/etc/designs
The import did NOT work, but i got the following xyz.json related messages in
the error.log:
13.10.2008 18:56:52.262 *INFO* [Background
Updatecom.customerxy.xyz-cq.xyz-cq-components (96)]
org.apache.sling.jcr.contentloader.internal.Loader install: No initial content
entries at CQ-INF/content/etc/designs/xyz.json
13.10.2008 18:56:57.214 *INFO* [FelixPackageAdmin]
org.apache.sling.jcr.contentloader.internal.Loader install: No initial content
entries at CQ-INF/content/etc/designs/xyz.json
> Initial Content does not load initial content from a file
> ----------------------------------------------------------
>
> Key: SLING-694
> URL: https://issues.apache.org/jira/browse/SLING-694
> Project: Sling
> Issue Type: Bug
> Components: JCR Contentloader
> Reporter: Mike Pfaff
>
> At the moment it is not possible to use the initial content feature to create
> a node based on a single JSON file.The initial content rule
> CQ-INF/content/etc/designs/xyz.json;overwrite:=true;path:=/etc/designs/xyz
> which should take the xyz.json file from the bundle and import it at
> /etc/designs/xyz does not work. In the log one can see entries which indicate
> that the content loader does not find the xyz.json file (maybe because the
> content loader thinks xyz.json is a folder name?).
> As we want to create (or overwrite, if it already exists) the
> /etc/designs/xyz node but leave all other existing content under /etc/designs
> intact, we have to use the xyz.json file and cannot define the whole
> designs-folder as initial content.
> It would be great and help us a lot if this bug was fixed for load 29.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.