Product:+series OOPSes on INCOMPLETE_WITH_RESPONSE and INCOMPLETE_WITHOUT_RESPONSE bug tasks
Bug #871076 reported by
William Grant
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Critical
|
Gavin Panella |
Bug Description
As seen in OOPS-2107AP52, Product:+series blows up with a KeyError: 13 or 14 when there are targeted tasks with the new INCOMPLETE_
Related branches
lp:~allenap/launchpad/bug-stats-key-error-bug-871076
- Graham Binns (community): Approve (code)
-
Diff: 514 lines (+280/-37)7 files modifiedlib/lp/bugs/interfaces/bugtask.py (+31/-2)
lib/lp/bugs/interfaces/tests/test_bugtask.py (+107/-0)
lib/lp/bugs/model/bugtask.py (+15/-9)
lib/lp/bugs/model/tests/test_bugtask_status.py (+36/-3)
lib/lp/bugs/tests/test_bugtaskset.py (+36/-15)
lib/lp/registry/browser/productseries.py (+7/-6)
lib/lp/registry/browser/tests/test_productseries_views.py (+48/-2)
Changed in launchpad: | |
assignee: | nobody → Gavin Panella (allenap) |
status: | Triaged → In Progress |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
On Sun, Oct 9, 2011 at 3:21 PM, William Grant <email address hidden> wrote: WITH_RESPONSE or INCOMPLETE_ WITHOUT_ RESPONSE statuses. ForProductSerie s could be fixed to map to INCOMPLETE,
> Public bug reported:
>
> As seen in OOPS-2107AP52, Product:+series blows up with a KeyError: 13
> or 14 when there are targeted tasks with the new
> INCOMPLETE_
> getStatusCounts
> perhaps.
Sounds like a query bypassing the storm enum mapping, which knows how
to do this automatically.