Opened 9 years ago
Last modified 9 years ago
#5380 new defect
API limits outbox queries past 20
Reported by: | Dylan Jeffers | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | programming | Keywords: | |
Cc: | Parent Tickets: |
Description
I am unable to get activities from someone's outbox with the following code:
{for activity in user.outbox[19:21]} or {for activity in user.outbox[:21]}. For some reason, outbox queries return None past item 20.
Change History (3)
comment:1 by , 9 years ago
comment:2 by , 9 years ago
For the record tests have been implemented as part of https://issues.mediagoblin.org/ticket/5408#comment:2 and show that the count/offset parameters have the desired semantic.
comment:3 by , 9 years ago
I suspect the code sapientech is demonstrating involves using PyPump. I haven't tested it, though I wonder if this is some issue that happens between pypump and mediagoblin...
Could you please explain how to reproduce this problem as well as the version of MediaGoblin you are using ?