Bug tasks are displayed against inactive upstreams

Bug #2672 reported by Stuart Bishop
20
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Medium
Unassigned

Bug Description

If the upstream is flagged as inactive, the bugtask should be ignored and
not appear anywhere.

Tags: lp-bugs
Brad Bollenbach (bradb)
Changed in malone:
assignee: nobody → bradb
status: New → Accepted
Changed in malone:
assignee: bradb → nobody
Revision history for this message
Stuart Bishop (stub) wrote :

As per Question #28916 , the following are example bugs: bug 182821, bug 183808, bug 184661, bug 185745, bug 186493, bug 179575, bug 181874, bug 182958, bug 183249, bug 188707, bug 172810 and bug 183249.

description: updated
Revision history for this message
Curtis Hovey (sinzui) wrote :

From the duplicate:

I think this can be fixed with a single line addition in lp/bugs/model/bug.Bug to filter out deactivated pillars.

    @property
    def bugtasks(self):
    ...
        tasks = [task for task in result if task.pillar.active]
        return sorted(tasks, key=bugtask_sort_key)

Revision history for this message
Robert Collins (lifeless) wrote :

We want registry admins to be able to look at bugs and so forth, but we have fixed bugtask pages to only show visible tasks.

Changed in launchpad:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Related questions

Remote bug watches

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