Do not allow private bugs to have more than one bug task
Bug #878605 reported by
Ian Booth
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Ian Booth |
Bug Description
The new disclosure work dictates that private bugs not be allowed to have more than one bug task. Hence the "Also Affects..." links should not be available for private bugs. Plus a bug should not be allowed to be made private if it already has more than one bug task.
Related branches
lp:~wallyworld/launchpad/one-bugtask-for-private-bugs-878605
- Huw Wilkins (community): Approve (ui)
- William Grant: Approve (code)
- Gavin Panella: Pending (code) requested
- Raphaël Badin: Pending (code*) requested
-
Diff: 1218 lines (+649/-92)24 files modifiedlib/canonical/launchpad/icing/style-3-0.css (+12/-0)
lib/lp/bugs/browser/bugalsoaffects.py (+4/-1)
lib/lp/bugs/browser/bugtask.py (+48/-0)
lib/lp/bugs/browser/tests/special/bugs-fixed-elsewhere.txt (+19/-13)
lib/lp/bugs/browser/tests/test_bug_views.py (+40/-0)
lib/lp/bugs/browser/tests/test_bugtask.py (+63/-1)
lib/lp/bugs/doc/bug.txt (+86/-0)
lib/lp/bugs/doc/bugtask.txt (+5/-0)
lib/lp/bugs/doc/security-teams.txt (+15/-6)
lib/lp/bugs/interfaces/bug.py (+4/-1)
lib/lp/bugs/mail/commands.py (+11/-1)
lib/lp/bugs/mail/errortemplates/cannot-add-task.txt (+3/-0)
lib/lp/bugs/mail/tests/test_commands.py (+20/-0)
lib/lp/bugs/model/bugtask.py (+17/-2)
lib/lp/bugs/model/tests/test_bug.py (+20/-36)
lib/lp/bugs/model/tests/test_bugtask.py (+118/-7)
lib/lp/bugs/stories/bug-also-affects/xx-also-affects-upstream-private-bug.txt (+11/-0)
lib/lp/bugs/stories/bug-also-affects/xx-bug-also-affects.txt (+35/-0)
lib/lp/bugs/templates/bugtasks-and-nominations-table.pt (+18/-2)
lib/lp/bugs/tests/test_bugheat.py (+9/-5)
lib/lp/bugs/tests/test_bugs_webservice.py (+15/-0)
lib/lp/services/features/flags.py (+5/-1)
lib/lp/soyuz/scripts/tests/test_queue.py (+3/-2)
lib/lp/testing/factory.py (+68/-14)
tags: | added: bugs pravacy |
tags: |
added: privacy removed: pravacy |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fixed in stable r14203 <http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ stable/ revision/ 14203>.