Re: json on root node
On 24 Dec 2008, at 01:43, Bertrand Delacretaz wrote: On Mon, Dec 22, 2008 at 2:00 AM, Torgeir Veimo wrote: Using http://localhost:8080/.json works, but trying http://localhost:8080/.infinity.json or http://localhost: 8080/.1.json gives me an exception and error 500;... Fixed, see https://issues.apache.org/jira/browse/SLING-795 Updating to current trunk, I'm still getting the same exception.. Is there a way to check runtime that I'm actually running the code from the svn revision number given in the above jira issue? -- Torgeir Veimo torg...@pobox.com
Re: json on root node
On Tue, Dec 23, 2008 at 5:41 PM, Rory Douglas wrote: > I had a similar issue dumping bundle resources (e.g. extensions/dojo > content), does this fix address this too? I haven't tested that one (that's the http://localhost:/dojo.1.json mentioned in this thread I assume), not sure if my fix will work for that as well. -Bertrand
Re: json on root node
I had a similar issue dumping bundle resources (e.g. extensions/dojo content), does this fix address this too? Rory Rory Douglas Senior Principal Consultant Oracle Consulting (sent from my Blackberry) --Original Message-- From: "Bertrand Delacretaz" Sent: Tue, December 23, 2008 7:44 AM To: sling-dev@incubator.apache.org Subject: Re: json on root node On Mon, Dec 22, 2008 at 2:00 AM, Torgeir Veimo wrote: > Using http://localhost:8080/.json works, but trying > http://localhost:8080/.infinity.json or http://localhost:8080/.1.json gives > me an exception and error 500;... Fixed, see https://issues.apache.org/jira/browse/SLING-795 -Bertrand
Re: json on root node
On Mon, Dec 22, 2008 at 2:00 AM, Torgeir Veimo wrote: > Using http://localhost:8080/.json works, but trying > http://localhost:8080/.infinity.json or http://localhost:8080/.1.json gives > me an exception and error 500;... Fixed, see https://issues.apache.org/jira/browse/SLING-795 -Bertrand
[jira] Closed: (SLING-795) JSON dump of / children fails due to /system synthetic resource
[ https://issues.apache.org/jira/browse/SLING-795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertrand Delacretaz closed SLING-795. - Resolution: Fixed Fixed in revision 729005, by not recursing into synthetic resources when generating JSON dumps. I don't think we need to include synthetic resources in the JSON output, but if we do we'll need to investigate this in more detail. > JSON dump of / children fails due to /system synthetic resource > --- > > Key: SLING-795 > URL: https://issues.apache.org/jira/browse/SLING-795 > Project: Sling > Issue Type: Bug > Components: Servlets Get >Reporter: Bertrand Delacretaz >Assignee: Bertrand Delacretaz >Priority: Minor > Fix For: Servlets Get 2.0.4 > > > Requesting http://localhost:8080/.1.json for example fails with > org.apache.sling.commons.json.JSONException: Misplaced endArray -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Assigned: (SLING-795) JSON dump of / children fails due to /system synthetic resource
[ https://issues.apache.org/jira/browse/SLING-795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertrand Delacretaz reassigned SLING-795: - Assignee: Bertrand Delacretaz > JSON dump of / children fails due to /system synthetic resource > --- > > Key: SLING-795 > URL: https://issues.apache.org/jira/browse/SLING-795 > Project: Sling > Issue Type: Bug > Components: Servlets Get >Reporter: Bertrand Delacretaz >Assignee: Bertrand Delacretaz >Priority: Minor > Fix For: Servlets Get 2.0.4 > > > Requesting http://localhost:8080/.1.json for example fails with > org.apache.sling.commons.json.JSONException: Misplaced endArray -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Created: (SLING-795) JSON dump of / children fails due to /system synthetic resource
JSON dump of / children fails due to /system synthetic resource --- Key: SLING-795 URL: https://issues.apache.org/jira/browse/SLING-795 Project: Sling Issue Type: Bug Components: Servlets Get Reporter: Bertrand Delacretaz Priority: Minor Fix For: Servlets Get 2.0.4 Requesting http://localhost:8080/.1.json for example fails with org.apache.sling.commons.json.JSONException: Misplaced endArray -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.