Merge lp:~wallyworld/launchpad/bug-sharing-policy-weirdness-1055250 into lp:launchpad
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Approved by: | Ian Booth on 2012-09-24 | ||||
| Approved revision: | no longer in the source branch. | ||||
| Merged at revision: | 16007 | ||||
| Proposed branch: | lp:~wallyworld/launchpad/bug-sharing-policy-weirdness-1055250 | ||||
| Merge into: | lp:launchpad | ||||
| Diff against target: |
52 lines (+24/-0) 2 files modified
lib/lp/registry/services/sharingservice.py (+3/-0) lib/lp/registry/services/tests/test_sharingservice.py (+21/-0) |
||||
| To merge this branch: | bzr merge lp:~wallyworld/launchpad/bug-sharing-policy-weirdness-1055250 | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Steve Kowalik (community) | code | 2012-09-24 | Approve on 2012-09-24 |
|
Review via email:
|
|||
Commit Message
The sharing service getBugSharingPolicy includes the pillar's current policy even if it is not nominally allowed.
Description of the Change
== Implementation ==
The UI was not updating correctly because the allowed bug sharing policies fetched from the sharing service did not include the current sharing policy. The current policy was no longer allowed but still needs to be supplied to the UI if it is the current one.
Branches worked correctly. Bugs needed to be updated to match.
== Tests ==
Add some more tests to test_sharingser
== Lint ==
Linting changed files:
lib/lp/
lib/lp/
