Bugzilla.convertRemoteImportance() OOPSes when there's no remote importance

Bug #646943 reported by Graham Binns
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Medium
Bryce Harrington

Bug Description

What happens:
The following traceback occurs when trying to update https://bugs.edge.launchpad.net/bugs/638789/+watch/81319 (OOPS-1725CCW1552):

Traceback (most recent call last):
  Module lp.bugs.scripts.checkwatches.remotebugupdater, line 152, in updateRemoteBug
    new_remote_importance))
  Module lp.bugs.externalbugtracker.bugzilla, line 245, in convertRemoteImportance
    return self._importance_lookup[words.pop()]
IndexError: pop from empty list

What should happen:
convertRemoteImportance() should handle a 0-length words list correctly.

Related branches

Revision history for this message
Bryce Harrington (bryce) wrote :

Yeah, it should return unknown in this case

Changed in malone:
assignee: nobody → Bryce Harrington (bryceharrington)
Revision history for this message
Launchpad QA Bot (lpqabot) wrote : Bug fixed by a commit
Changed in malone:
milestone: none → 10.10
tags: added: qa-needstesting
Changed in malone:
status: Triaged → Fix Committed
Bryce Harrington (bryce)
tags: added: qa-ok
removed: qa-needstesting
Curtis Hovey (sinzui)
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.