ShortListTooBigError in API when >1000 comments on a bug

Bug #534339 reported by Gavin Panella
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Committed
High
Abel Deuring

Bug Description

See OOPS-1526ED777.

The API machinery appears to use the default arguments for shortlist(), which means there's a hard upper limit of 1000. There are now over 1000 comments on bug 1. When modifying the bug, the SQL snapshot fails. The fix to this bug might be as simple as preventing comments from being added to the snapshot. Unfortunately, the OOPS report above does not record the POSTed payload, so it's not possible to tell what operation was being attempted (this may be a bug in itself).

Revision history for this message
Gavin Panella (allenap) wrote :

On second thoughts, this is probably something that should be fixed in malone.

affects: launchpad → malone
Revision history for this message
Ursula Junque (ursinha) wrote : Bug fixed by a commit
Changed in malone:
assignee: nobody → Abel Deuring (adeuring)
milestone: none → 10.03
status: Triaged → Fix Committed
tags: added: qa-needstesting
Abel Deuring (adeuring)
tags: added: qa-ok
tags: removed: qa-needstesting
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.