Null bug supervisor is confusing

Bug #113825 reported by Matthew Paul Thomas
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Low
Steve Kowalik

Bug Description

Currently it is possible in the UI for a project's bug supervisor to be null, which makes the apparent behavior of private bugs less obvious. (The bug supervisor is subscribed to initially-private bug reports, unless there is no bug supervisor, in which case...)

This can be fixed by representing a null bug supervisor as "Project maintainer" in the UI. For example, in the "Change bug contact" page:

    Bug supervisor:
    (*) Project maintainer (currently _Foo Bar_)
    ( ) [__________________] (Choose...)

Related branches

Changed in malone:
status: New → Triaged
Revision history for this message
Robert Collins (lifeless) wrote : Re: Null bug contact is confusing

So this is (or was) true; we should fix it but this only really affects initial setup - so I don't think it qualifies as high given the other high bugs we have today.

Changed in launchpad:
importance: Undecided → Low
Revision history for this message
Curtis Hovey (sinzui) wrote :

From the duplicate that describes the issue caused by an ambiguous model and UI:

If a project has no bug supervisor set, the owner is notified of all bug changes. Unlike the bug supervisor, they have no option to unsubscribe.

A workaround is to set the bug supervisor to the owner, then remove the subscription.

The problematic bit is this:

    def getAlsoNotifiedSubscribers(self, recipients=None, level=None):
        [snip]
            # If the target's bug supervisor isn't set,
            # we add the owner as a subscriber.
            pillar = bugtask.pillar
            if pillar.bug_supervisor is None:
                also_notified_subscribers.add(pillar.owner)
                if recipients is not None:
                    recipients.addRegistrant(pillar.owner, pillar)

summary: - Null bug contact is confusing
+ Null bug supervisor is confusing
description: updated
Curtis Hovey (sinzui)
description: updated
Curtis Hovey (sinzui)
tags: added: confusing-ui
Revision history for this message
Robert Collins (lifeless) wrote :

This has also led to bugs in the code where the model property is consulted via sql rather than the calculated value (see the recent 'cannot ave private bugs w/out a bug supervisor' bug).

William Grant (wgrant)
tags: added: disclosure
Curtis Hovey (sinzui)
tags: added: sharing
Revision history for this message
Robert Collins (lifeless) wrote :

This special case will be going soon. Yay.

Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
Changed in launchpad:
assignee: nobody → Steve Kowalik (stevenk)
tags: added: qa-needstesting
Changed in launchpad:
status: Triaged → Fix Committed
Steve Kowalik (stevenk)
tags: added: qa-ok
removed: qa-needstesting
Curtis Hovey (sinzui)
Changed in launchpad:
status: Fix Committed → 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

Remote bug watches

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