delete bugtask in stale page cause errors
Bug #904890 reported by
Diogo Matsubara
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Ian Booth |
Bug Description
Steps to reproduce:
1. Open a bug in a project you have permissions to add/delete bugtasks (e.g. https:/
2. Add a new bug task to the bug report
3. Now that the bug has two bug tasks, open the bug page in another tab
4. Delete one of the tasks in the second tab
5. Go back to the first tab and delete the same task.
If you're using Firefox, you get an overlay with an error. See screenshot: remove-
If you're using Chromium, you get the "delete bugtask" overlay embedded in the page, asking for confirmation to delete the remaining task. See screenshot: remove-
Related branches
lp:~wallyworld/launchpad/delete-bugtask-stale-page-904890
- Curtis Hovey (community): Approve (code)
-
Diff: 295 lines (+195/-7)5 files modifiedlib/lp/app/javascript/client.js (+20/-0)
lib/lp/bugs/browser/bugtask.py (+11/-5)
lib/lp/bugs/browser/tests/test_bugtask_navigation.py (+54/-0)
lib/lp/bugs/javascript/bugtask_index.js (+29/-1)
lib/lp/bugs/javascript/tests/test_bugtask_delete.js (+81/-1)
Changed in launchpad: | |
assignee: | nobody → Ian Booth (wallyworld) |
status: | Triaged → In Progress |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
tags: | added: hardening |
To post a comment you must log in.
Fixed in stable r14551 <http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ stable/ revision/ 14551>.