Merge lp:~gmb/launchpad/fix-bugzilla-sans-alias-bug-660873 into lp:launchpad
Proposed by
Graham Binns
Status: | Merged |
---|---|
Approved by: | Graham Binns |
Approved revision: | no longer in the source branch. |
Merged at revision: | 11719 |
Proposed branch: | lp:~gmb/launchpad/fix-bugzilla-sans-alias-bug-660873 |
Merge into: | lp:launchpad |
Diff against target: |
72 lines (+40/-1) 3 files modified
lib/lp/bugs/doc/externalbugtracker-bugzilla-api.txt (+17/-0) lib/lp/bugs/externalbugtracker/bugzilla.py (+1/-1) lib/lp/bugs/tests/externalbugtracker.py (+22/-0) |
To merge this branch: | bzr merge lp:~gmb/launchpad/fix-bugzilla-sans-alias-bug-660873 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Abel Deuring (community) | code | Approve | |
Review via email: mp+38533@code.launchpad.net |
Commit message
The BugzillaAPI and LPPlugin ExternalBugTrackers will no longer OOPS when a Bugzilla doesn't return an alias for a bug.
Description of the change
This branch fixes bug 660873.
In order to fix this bug I've:
- Added a new TestBugzillaAPI
- Added a test that covers the problem to externalbugtrac
- Fixed the bug by using .get() instead of accessing the key directly.
To post a comment you must log in.