KeyErrors in BugWatchUpdater.updateBugWatches() will cause checkwatches to abort
Bug #497414 reported by
Graham Binns
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Graham Binns |
Bug Description
What happens:
If a KeyError is raised by line 792 of lp.bugs.
What should happen:
The KeyError should either not occur (by using bug_watches_
This is related to, but not the same as bug 496988. In fact I suspect this bug has been masked by that one.
See OOPS-1413CCW5363 for an example of this error.
Related branches
lp://staging/~gmb/launchpad/another-checkwatches-keyerror-bug-497414
- Gavin Panella (community): Approve
- Canonical Launchpad Engineering: Pending (code) requested
-
Diff: 128 lines (+93/-1)2 files modifiedlib/lp/bugs/scripts/checkwatches.py (+10/-1)
lib/lp/bugs/scripts/tests/test_checkwatches.py (+83/-0)
description: | updated |
Changed in malone: | |
status: | Triaged → In Progress |
assignee: | nobody → Graham Binns (gmb) |
Changed in malone: | |
milestone: | none → 10.01 |
Changed in malone: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fixed in devel r10098 <http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ devel/revision/ 10098>