update-remote-product doesn't handle AssertionErrors; Bugzilla raises them

Bug #334448 reported by Graham Binns
2
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Graham Binns

Bug Description

We've added some limited error handling for update-remote-product.py to stop it from choking every time an ExternalBugTracker throws an exception. Unfortunately, this was based around EBT's only raising BugWatchUpdateErrors or BugWatchUpdateWarnings (which is what they should be raising). However, some legacy code in the Bugzilla EBT class uses asserts for validation; u-r-p can't handle the AssertionErrors and breaks when it comes across them.

Graham Binns (gmb)
Changed in malone:
assignee: nobody → gmb
importance: Undecided → High
milestone: none → 2.2.2
status: New → In Progress
Revision history for this message
Björn Tillenius (bjornt) wrote : Bug fixed by a commit

Fixed in db r7763.

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.