[
https://issues.apache.org/jira/browse/SLING-250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lars Trieloff updated SLING-250:
--------------------------------
Attachment: 250-test.patch
I've extended the patch to include an actual suffix. Here the results are even
stranger: no extension is recognized.
> JSON serialization of repository root does not include child nodes
> ------------------------------------------------------------------
>
> Key: SLING-250
> URL: https://issues.apache.org/jira/browse/SLING-250
> Project: Sling
> Issue Type: Bug
> Components: Launchpad
> Reporter: Lars Trieloff
> Attachments: 250-test.patch, 250-test.patch
>
>
> The JSON servlet includes child nodes in the serialization for all nodes, but
> the root node:
> A small test case using curl looks like this:
> [EMAIL PROTECTED]:~/Documents/OpenSource/sling/launchpad/launchpad-webapp$
> curl -u admin:admin http://localhost:8888/bunkai.1.json
> {"jcr:created":"Fri Feb 15 2008 14:59:33
> GMT+0100","jcr:primaryType":"nt:folder","test":{"jcr:created":"Fri Feb 15
> 2008 14:59:33
> GMT+0100","jcr:primaryType":"nt:folder"},"editarea":{"jcr:created":"Fri Feb
> 15 2008 14:59:35
> GMT+0100","jcr:primaryType":"nt:folder"},"json.esp":{"jcr:created":"Fri Feb
> 15 2008 14:59:57
> GMT+0100","jcr:primaryType":"nt:file"},"bunkai":{"jcr:mixinTypes":["mix:lockable"],"jcr:created":"Fri
> Feb 15 2008 14:59:57
> GMT+0100","jcr:primaryType":"nt:folder"},"screenshots":{"jcr:created":"Fri
> Feb 15 2008 15:00:13
> GMT+0100","jcr:primaryType":"nt:folder"},"dojo-1.0.2":{"jcr:created":"Fri Feb
> 15 2008 15:00:14 GMT+0100","jcr:primaryType":"nt:folder"}}
> [EMAIL PROTECTED]:~/Documents/OpenSource/sling/launchpad/launchpad-webapp$
> curl -u admin:admin http://localhost:8888/.1.json
> {"jcr:mixinTypes":["mix:lockable"],"jcr:primaryType":"rep:root"}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.