DataError: OFFSET must not be negative
Bug #826839 reported by
Diogo Matsubara
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Critical
|
Brad Crittenden | ||
lazr.batchnavigator |
Fix Released
|
Critical
|
Brad Crittenden |
Bug Description
As seen on OOPS-2049AW40 a DataError: OFFSET must not be negative was logged accessing the +translate page.
It seems like an URL hack given that the OOPSes have no referrer. In any case the page shouldn't oops or at least raise a UnexpectedFormData error
Another oops: OOPS-2054H61: ForbiddenAttribute: ('__len__', <storm.
Related branches
lp:~bac/lazr.batchnavigator/bug-826839
- Benji York (community): Approve (code)
-
Diff: 172 lines (+86/-17)3 files modifiedsrc/lazr/batchnavigator/_batchnavigator.py (+2/-1)
src/lazr/batchnavigator/tests/test_batchnavigator.py (+83/-15)
src/lazr/batchnavigator/version.txt (+1/-1)
lp:~bac/launchpad/bug-826839
- Benji York (community): Approve (code)
-
Diff: 12 lines (+1/-1)1 file modifiedversions.cfg (+1/-1)
description: | updated |
Changed in launchpad: | |
assignee: | nobody → Brad Crittenden (bac) |
Changed in launchpad: | |
status: | Triaged → In Progress |
Changed in lazr.batchnavigator: | |
status: | New → Fix Committed |
assignee: | nobody → Brad Crittenden (bac) |
importance: | Undecided → Critical |
Changed in launchpad: | |
status: | In Progress → Fix Released |
Changed in lazr.batchnavigator: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I've tried to replicate the original problem by hacking the following URL to mimic what I see in the OOPS (note there is no 'memo' field):
https:/ /translations. launchpad. net/transmissio n/trunk/ +pots/transmiss ion/vi/ +translate? direction= backwards& start=180
There is no OOPS but the numbering of the items is incorrect as it shows "181 -> 186 of 476" but the first item is 471. See the attached screenshot