Cannot set a bug private is the bug supervisor is not set
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Critical
|
j.c.sackett |
Bug Description
We want to set all public bugs in this project to private (and I already configured the project so all future bugs are private). However I get an error when I try to change them.
Steps to reproduce:
- Go to https:/
- Click on the pencil next to "this bug is public"
- Click on the "private" checkbox
- Click on the check mark to apply changes
Expected result:
- Bug goes private
Actual result:
- Bug does NOT go private
- A window with trace in red appears, only the last part is visible:
WORK AROUND
- Set the project's bug supervisor.
The project bug supervisor as-private-
Related branches
- Curtis Hovey (community): Approve (code)
-
Diff: 725 lines (+103/-296)9 files modifiedlib/lp/bugs/doc/bugnotification-sending.txt (+6/-1)
lib/lp/bugs/doc/bugsubscription.txt (+11/-27)
lib/lp/bugs/doc/initial-bug-contacts.txt (+1/-15)
lib/lp/bugs/doc/security-teams.txt (+1/-38)
lib/lp/bugs/model/bug.py (+31/-97)
lib/lp/bugs/model/tests/test_bug.py (+40/-108)
lib/lp/bugs/tests/test_bug_mirror_access_triggers.py (+6/-2)
lib/lp/bugs/tests/test_bugvisibility.py (+7/-1)
lib/lp/services/features/flags.py (+0/-7)
Changed in launchpad: | |
status: | New → Triaged |
importance: | Undecided → Critical |
tags: | added: bugs privacy |
tags: | added: disclosure |
visibility: | public → private |
visibility: | private → public |
Changed in launchpad: | |
status: | Triaged → Incomplete |
Changed in launchpad: | |
status: | Confirmed → Triaged |
summary: |
- Unable to set bug 838332 to private + Unable to set bug to private; forbidden |
tags: | added: regression |
summary: |
- Unable to set bug to private; forbidden + Cannot set a bug private is the bgu supervisor is not set |
description: | updated |
summary: |
- Cannot set a bug private is the bgu supervisor is not set + Cannot set a bug private is the bug supervisor is not set |
Changed in launchpad: | |
status: | Triaged → In Progress |
assignee: | nobody → j.c.sackett (jcsackett) |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → In Progress |
Changed in launchpad: | |
status: | In Progress → Fix Committed |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
I cannot reproduce this with the projects I maintain. The underlying issue is that you are not being subscribed to the bug /before/ the bug is made private so you loose access during the change and it fails.
I see that you are a member of the hw-labs maintain team, but it does not have a structural subscription to get bug mail: https:/ /bugs.launchpad .net/~canonical -hw-cert/ +structural- subscriptions ? Can you set a bug private after you subscribe the canonical-hw-cert team to all hw-lab bugs?