Merge lp:~thumper/launchpad/linked-bug-visibility into lp:launchpad
Proposed by
Tim Penhey
Status: | Merged |
---|---|
Approved by: | Stuart Bishop |
Approved revision: | no longer in the source branch. |
Merged at revision: | 11006 |
Proposed branch: | lp:~thumper/launchpad/linked-bug-visibility |
Merge into: | lp:launchpad |
Diff against target: |
47 lines (+17/-2) 2 files modified
lib/lp/code/browser/branch.py (+2/-2) lib/lp/code/browser/tests/test_branch.py (+15/-0) |
To merge this branch: | bzr merge lp:~thumper/launchpad/linked-bug-visibility |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Stuart Bishop (community) | Approve | ||
Review via email: mp+27466@code.launchpad.net |
Commit message
Check the bug visibility before trying to access other properties.
Description of the change
In my fix on Friday to not show resolved bugs on the branch page for series branches, I created a bug where the view class is trying to get access to properties of the bug even if the user cannot see the bug due to bug privacy. This causes a 403 to be shown to the user.
tests:
test_
QA:
look at lp:~software-store-developers/software-center/trunk to see if it renders
No pre implementation call. I found this while QAing the other bug.
To post a comment you must log in.
Looks good.