You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@usergrid.apache.org by "Jeffrey (JIRA)" <ji...@apache.org> on 2015/11/02 18:13:27 UTC
[jira] [Updated] (USERGRID-263) Limit not honored on subsequent
requests with cursors
[ https://issues.apache.org/jira/browse/USERGRID-263?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeffrey updated USERGRID-263:
------------------------------
Sprint: Critical
> Limit not honored on subsequent requests with cursors
> -----------------------------------------------------
>
> Key: USERGRID-263
> URL: https://issues.apache.org/jira/browse/USERGRID-263
> Project: Usergrid
> Issue Type: Bug
> Components: Stack
> Affects Versions: 2.0.0
> Reporter: Todd Nine
>
> The following scenario worked in 1.0. We've broken this in 2.0.
> Steps to reproduce.
> 1) Perform a query that returns a cursor, a limit may or may not be supplied.
> curl -X GET "http://localhost:8080/usergrid/test1/users?limit=20"
> 2) Perform the next page query and change the limit
> curl -X GET "http://localhost:8080/usergrid/test1/users?limit=40&cursor=cXVlcnlBbmRGZXRjaDsxOzk4NzA6UDFXa08zSVRTdGFXNncwRmZ2VkZudzswOw=="
> *What should happen*
> A response with 40 entities, assuming there are 40 to return.
> *What actually happens*
> A response with 20 entities, which is from the original query, but not what was requested.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)