Can't target bug report from project to distribution, or vice versa
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
William Grant |
Bug Description
1. Report a bug on the hundredpapercuts project.
2. Try to refile it from the hundredpapercuts project to the Ubuntu project.
What should happen: The bug report is refiled.
What actually happens: Launchpad returns an error. It says "There are two errors in the data you entered", which is false, and "Enter a project name", when you already have.
The current workaround is to mark the original target as "Invalid", which is cluttersome and a little misleading. It also results in unwanted bug mail for the subscribers to the original project.
The necessary form controls for fixing this are already implemented for Launchpad Answers.
It may make sense to fix this bug at the same time as bug 50894 and bug 59389. This is the retargeting equivalent of bug 1334.
Related branches
- Curtis Hovey (community): Approve (code)
-
Diff: 609 lines (+71/-215)11 files modifiedlib/canonical/launchpad/doc/canonical_url_examples.txt (+5/-5)
lib/canonical/launchpad/mail/helpers.py (+2/-50)
lib/lp/bugs/browser/bugtask.py (+20/-61)
lib/lp/bugs/browser/configure.zcml (+6/-37)
lib/lp/bugs/browser/tests/bugtask-adding-views.txt (+15/-14)
lib/lp/bugs/doc/bugtask-package-widget.txt (+3/-3)
lib/lp/bugs/doc/bugtask.txt (+0/-22)
lib/lp/bugs/model/tests/test_bugtask.py (+3/-4)
lib/lp/bugs/stories/bugtask-management/xx-change-milestone.txt (+2/-2)
lib/lp/bugs/subscribers/bugtask.py (+2/-2)
lib/lp/registry/vocabularies.py (+13/-15)
- Curtis Hovey (community): Approve (code)
-
Diff: 591 lines (+39/-161)12 files modifiedlib/canonical/launchpad/mail/commands.py (+2/-2)
lib/lp/bugs/doc/bug.txt (+2/-2)
lib/lp/bugs/doc/bugactivity.txt (+3/-4)
lib/lp/bugs/doc/bugnotifications.txt (+3/-4)
lib/lp/bugs/doc/bugtask.txt (+0/-3)
lib/lp/bugs/doc/initial-bug-contacts.txt (+6/-9)
lib/lp/bugs/doc/malone-karma.txt (+9/-13)
lib/lp/bugs/doc/security-teams.txt (+2/-2)
lib/lp/bugs/interfaces/bugtask.py (+0/-42)
lib/lp/bugs/model/bugtask.py (+10/-65)
lib/lp/bugs/model/tests/test_bugtask.py (+0/-12)
lib/lp/bugs/tests/test_bugnotification.py (+2/-3)
- Steve Kowalik (community): Approve (code)
-
Diff: 445 lines (+257/-58)5 files modifiedlib/lp/bugs/model/bugtask.py (+61/-23)
lib/lp/bugs/model/tests/test_bugtask.py (+194/-1)
lib/lp/bugs/scripts/bugtasktargetnamecaches.py (+2/-2)
lib/lp/bugs/stories/webservice/xx-bug.txt (+0/-31)
lib/lp/bugs/tests/test_bugnotification.py (+0/-1)
- j.c.sackett (community): Approve
-
Diff: 701 lines (+219/-153)9 files modifiedlib/lp/bugs/browser/bugtask.py (+70/-81)
lib/lp/bugs/browser/tests/bugtask-edit-views.txt (+13/-12)
lib/lp/bugs/browser/tests/test_bugtask.py (+77/-4)
lib/lp/bugs/stories/bug-also-affects/xx-bug-also-affects.txt (+10/-5)
lib/lp/bugs/stories/bugs/xx-bug-activity.txt (+2/-1)
lib/lp/bugs/stories/bugtask-management/xx-bug-privileged-statuses.txt (+2/-1)
lib/lp/bugs/stories/bugtask-management/xx-bugtask-edit-forms.txt (+3/-0)
lib/lp/bugs/templates/bugtask-edit-form.pt (+39/-46)
lib/lp/registry/stories/product/xx-product-reassignment-and-milestones.txt (+3/-3)
- Curtis Hovey (community): Approve (code)
-
Diff: 763 lines (+284/-248)8 files modifiedlib/canonical/launchpad/doc/validation.txt (+0/-105)
lib/canonical/launchpad/interfaces/validation.py (+0/-98)
lib/lp/bugs/browser/bugalsoaffects.py (+20/-22)
lib/lp/bugs/browser/bugtask.py (+16/-13)
lib/lp/bugs/browser/tests/test_bugtask.py (+2/-1)
lib/lp/bugs/model/bugtask.py (+65/-7)
lib/lp/bugs/model/tests/test_bugtask.py (+177/-0)
lib/lp/bugs/stories/bug-also-affects/xx-bug-also-affects.txt (+4/-2)
- Steve Kowalik (community): Approve (code)
-
Diff: 73 lines (+22/-5)2 files modifiedlib/lp/app/widgets/doc/launchpad-target-widget.txt (+14/-0)
lib/lp/app/widgets/launchpadtarget.py (+8/-5)
- Steve Kowalik (community): Approve (code)
-
Diff: 125 lines (+49/-9)4 files modifiedlib/lp/bugs/model/bugtask.py (+12/-7)
lib/lp/bugs/model/tests/test_bugtask.py (+26/-0)
lib/lp/bugs/stories/webservice/xx-bug.txt (+8/-2)
lib/lp/registry/browser/tests/test_milestone.py (+3/-0)
- Curtis Hovey (community): Approve (code)
-
Diff: 56 lines (+21/-9)2 files modifiedlib/lp/bugs/model/bugtask.py (+17/-9)
lib/lp/bugs/model/tests/test_bugtask.py (+4/-0)
description: | updated |
description: | updated |
Changed in malone: | |
importance: | Undecided → Medium |
status: | New → Triaged |
description: | updated |
summary: |
- Allow bug retargeting from project to distribution, or vice versa + Can't refile bug report from project to distribution, or vice versa |
summary: |
- Can't refile bug report from project to distribution, or vice versa + Can't target bug report from project to distribution, or vice versa |
tags: | added: project-picker |
tags: |
added: qa-ok removed: qa-needstesting |
tags: |
added: qa-ok removed: qa-needstesting |
tags: |
added: qa-ok removed: qa-needstesting |
tags: |
added: qa-ok removed: qa-needstesting |
tags: |
added: target-picker removed: project-picker |
Changed in launchpad: | |
assignee: | Launchpad Teal Squad (launchpad-teal-squad) → William Grant (wgrant) |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
Escalated to the stakeholders list by James W.