dumre0707 / googlepersonfinder

Automatically exported from code.google.com/p/googlepersonfinder
Apache License 2.0
0 stars 0 forks source link

skip feed parameter does not behave as expected #127

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Put x records in your repository.
2. Pick a number y that is greater than x, and use it as the value of the skip 
parameter. For example (I have 937 person records in my repo):
http://localhost:8000/2013-yolanda/feeds/person?key=your_key_here&max_results=20
0&skip=2000

What is the expected output? What do you see instead?
I would expect there not to be any results, since I should skip all of them. 
Instead, there are 137 results.

What version of the product are you using? On what operating system?
Just downloaded, so I guess rev 353b7105c471. On Linux.

Please provide any additional information below.
If I set max_results to be anything above 137 results, I still get back 137. If 
I set it below 137, I get the maximum I requested, and it looks like the first 
record (and presumably the ones after it) are the same either way.
All of my records have the same entry date.

Original issue reported on code.google.com by nwor...@google.com on 12 Nov 2013 at 4:16

GoogleCodeExporter commented 9 years ago
This is because we hard limit max skip to 800, because we had GAE limitation 
that max_results + skip <= 1000. But I believe this limitation is gone after 
1.3.6. I'll get rid of the limit, and see if it works.

Original comment by r...@google.com on 16 Nov 2013 at 11:05

GoogleCodeExporter commented 9 years ago
Fixed with release-54

Original comment by r...@google.com on 17 Nov 2013 at 8:19