Merge lp:~gmb/launchpad/fix-bugzilla-sans-alias-bug-660873 into lp:launchpad
Proposed by
Graham Binns
on 2010-10-15
| Status: | Merged |
|---|---|
| Approved by: | Graham Binns on 2010-10-15 |
| 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 | 2010-10-15 | Approve on 2010-10-15 |
|
Review via email:
|
|||
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.
review:
Approve
(code)
