Trying to make myself as bug supervisor of my project oopses
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| Launchpad itself |
High
|
Graham Binns |
Bug Description
Steps to reproduce:
1) Go to launchpad.dev and login as a regular user (without supercow powers)
2) Create a project
2) Go to bugs.launchpad.
3) Boom! OOPS-1367G1058
UserCannotSub
William Grant (wgrant) wrote : | #1 |
Changed in malone: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in malone: | |
assignee: | nobody → Graham Binns (gmb) |
milestone: | none → 3.1.10 |
Changed in malone: | |
status: | Triaged → In Progress |
Fixed in devel r9767 <http://
Changed in malone: | |
status: | In Progress → Fix Committed |
Changed in malone: | |
status: | Fix Committed → Fix Released |
Sumana Harihareswara (sumanah) wrote : | #3 |
My issue (as described in https:/
Changed in malone: | |
status: | Fix Released → In Progress |
Graham Binns (gmb) wrote : | #4 |
Hi Sumana,
According to the OOPS you posted, you're trying to set someone else as bug supervisor for a project, which isn't the same as this bug. I've filed bug 479331 about this for you.
Also, please note that the "In progress" status means "Someone is working on fixing this bug." Please don't use it unless you're working on the bug in question.
Changed in malone: | |
status: | In Progress → Fix Released |
My fault! It's concerning that no tests broke. I incorrectly used 'is' to compare the user and person, when I should have used '=='.
Reading the view code also revealed another issue: there is a permission conflict. When setting the bug supervisor, you can set it to any person, or a team you administer. This implicitly adds a structural subscription for them. In other places you can only subscribe *yourself* or a team you administer. The latter restriction is now implemented in the model, so attempting to set the bug supervisor to another non-team person will fail similarly. I'm not sure how best to resolve this one.