Oops on negative batch parameter
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| Launchpad itself |
High
|
Jeroen T. Vermeulen | ||
| lazr.batchnavigator |
High
|
Jeroen T. Vermeulen |
Bug Description
We got an oops in Translations yesterday: OOPS-1582C923
This user had hacked up a URL to set the batching parameter to -300, which breaks result-set slicing for the page.
It would be nice to have this kind of invalid parameter value caught right up front, just like the values greater than 300, so we don't get oopses on the individual Launchpad applications.
Related branches
- Abel Deuring (community): Approve (code) on 2010-05-07
- Barry Warsaw: Pending (code) requested 2010-05-03
-
Diff: 101 lines (+55/-14)2 files modifiedsrc/lazr/batchnavigator/README.txt (+21/-0)
src/lazr/batchnavigator/_batchnavigator.py (+34/-14)
- Gary Poster (community): Approve on 2010-05-11
-
Diff: 12 lines (+1/-1)1 file modifiedversions.cfg (+1/-1)
affects: | launchpad → launchpad-foundations |
Gary Poster (gary) wrote : | #1 |
Changed in launchpad-foundations: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in lazr.batchnavigator: | |
importance: | Undecided → High |
status: | New → Triaged |
Jeroen T. Vermeulen (jtv) wrote : | #2 |
Attaching the branch I wrote for this yesterday. Normally this would've happened automatically, but the branch scanner seems to be held up.
tags: | added: ui |
Changed in lazr.batchnavigator: | |
status: | Triaged → Fix Committed |
assignee: | nobody → Jeroen T. Vermeulen (jtv) |
Gary Poster (gary) wrote : | #3 |
Current status: jtv is making a release of lazr.batchnavigator and then preparing a branch of LP to use it. Assigning him the Foundations task as well, since the integration is the Foundations part.
Changed in launchpad-foundations: | |
assignee: | nobody → Jeroen T. Vermeulen (jtv) |
Changed in launchpad-foundations: | |
status: | Triaged → In Progress |
milestone: | none → 10.05 |
Changed in launchpad-foundations: | |
status: | In Progress → Fix Committed |
Changed in lazr.batchnavigator: | |
status: | Fix Committed → Fix Released |
Fixed in stable r10857 <http://
tags: | added: qa-needstesting |
Diogo Matsubara (matsubara) wrote : | #5 |
I have just QA'ed this one with the following:
https:/
https:/
https:/
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad-foundations: | |
status: | Fix Committed → Fix Released |
Triaging as high because of OOPS policy