Sharing details page breaks when an inaccessible bug is shown
Bug #971241 reported by
William Grant
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
j.c.sackett |
Bug Description
The sharing details page breaks if you don't have access to one of the listed bugs:
Module lp.registry.
bug_data = self._build_
Module lp.registry.
[bugtask] = [task for task in bug.bugtasks if
Unauthorized: (<Bug at 0x11176d90>, 'bugtasks', 'launchpad.
Related branches
lp:~jcsackett/launchpad/bad-bugtasks-how-dare-you-break-details
- Steve Kowalik (community): Approve (code)
-
Diff: 195 lines (+77/-31)2 files modifiedlib/lp/registry/browser/pillar.py (+46/-23)
lib/lp/registry/browser/tests/test_pillar_sharing.py (+31/-8)
Changed in launchpad: | |
status: | Triaged → In Progress |
Changed in launchpad: | |
assignee: | nobody → j.c.sackett (jcsackett) |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
tags: | added: sharing |
To post a comment you must log in.
Fixed in stable r15071 <http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ stable/ revision/ 15071>.