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
            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