KeyErrors in BugWatchUpdater.updateBugWatches() will cause checkwatches to abort

Bug #497414 reported by Graham Binns
6
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.scripts.checkwatches, it will travel all the way up the stack and cause the script to abort.

What should happen:
The KeyError should either not occur (by using bug_watches_by_remote_bug.get()) or should be logged quietly.

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

Graham Binns (gmb)
description: updated
Graham Binns (gmb)
Changed in malone:
status: Triaged → In Progress
assignee: nobody → Graham Binns (gmb)
Deryck Hodge (deryck)
Changed in malone:
milestone: none → 10.01
Revision history for this message
Diogo Matsubara (matsubara) wrote : Bug fixed by a commit
Changed in malone:
status: In Progress → Fix Committed
Graham Binns (gmb)
Changed in malone:
status: Fix Committed → Fix Released
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.