Opened 4 years ago

Last modified 4 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.

Subtickets

Change History (3)

comment:1 Changed 4 years ago by Loic Dachary

Could you please explain how to reproduce this problem as well as the version of MediaGoblin you are using ?

comment:2 Changed 4 years ago by Loic Dachary

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 Changed 4 years ago by Christopher Allan Webber

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

Note: See TracTickets for help on using tickets.