You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Antonio Sanso (Updated) (JIRA)" <ji...@apache.org> on 2011/12/07 15:54:40 UTC
[jira] [Updated] (SLING-2324) The recursion selector value for the
JsonRenderServlet is limited to Integer.MAX_VALUE
[ https://issues.apache.org/jira/browse/SLING-2324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antonio Sanso updated SLING-2324:
---------------------------------
Attachment: SLING-2324-patch.txt
Thanks Carsten, proposed patch attached.
I will happily leverage [0] (when committed) to integrate some unit test for this case.
[0] https://issues.apache.org/jira/browse/SLING-2320
> The recursion selector value for the JsonRenderServlet is limited to Integer.MAX_VALUE
> --------------------------------------------------------------------------------------
>
> Key: SLING-2324
> URL: https://issues.apache.org/jira/browse/SLING-2324
> Project: Sling
> Issue Type: Bug
> Components: Servlets
> Affects Versions: Servlets Get 2.1.2
> Reporter: Antonio Sanso
> Assignee: Carsten Ziegeler
> Priority: Minor
> Attachments: SLING-2324-patch.txt
>
>
> A request of resource.$(Integer.MAX_VALUE+1).json or higher fails with
> Invalid recursion selector value '2147483648' (400)
> Arguably (due the really high number) IMHO would be more correct to transform the request to resource.infinity.json rather than return 400.
> Should you agree patch to follow.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira