Project: usergrid
Issue USERGRID-263: Limit not honored on subsequent requests with cursors
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.
Story points: 3