Sharing details page breaks when an inaccessible bug is shown

Bug #971241 reported by William Grant
6
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.browser.pillar, line 380, in initialize
    bug_data = self._build_bug_template_data(self.bugs)
    Module lp.registry.browser.pillar, line 412, in _build_bug_template_data
    [bugtask] = [task for task in bug.bugtasks if

Unauthorized: (<Bug at 0x11176d90>, 'bugtasks', 'launchpad.View')<br />

Related branches

j.c.sackett (jcsackett)
Changed in launchpad:
status: Triaged → In Progress
j.c.sackett (jcsackett)
Changed in launchpad:
assignee: nobody → j.c.sackett (jcsackett)
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
Changed in launchpad:
status: In Progress → Fix Committed
j.c.sackett (jcsackett)
tags: added: qa-ok
removed: qa-needstesting
William Grant (wgrant)
Changed in launchpad:
status: Fix Committed → Fix Released
Curtis Hovey (sinzui)
tags: added: sharing
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.