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

Carsten Ziegeler commented on SLING-2324:
-----------------------------------------

I agree - it's better to handle this situation gracefully than to throw an error
Happy to apply your patch :)
                
> 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
>
> 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

        

Reply via email to