Feature #2893
open
Add a view to confirm issue deletion
Added by Drarok Ithaqua over 15 years ago.
Updated over 13 years ago.
Description
When attempting to navigate our redmine today, I accidentally deleted an issue by using the middle button in Firefox (I was trying to open an issue in a new tab, the default behaviour for middle-click).
What actually happened was the context menu came up, and my 2nd middle click went to the delete button, which does not show the confirmation dialogue, deleted my issue in a new tab.
Running: Redmine 0.7.devel (MySQL)
- Status changed from New to Closed
- Resolution set to Invalid
- Status changed from Closed to Reopened
I've just upgraded to svn-HEAD (and erased all my data with rake db:migrate while I was at it, but that's not a fault you can fix...), and can still reproduce this behaviour. THe problem is that the assumption is made as such:
If the javascript right-click menu has appeared, javascript will intercept the click and present the "are you sure" confirmation.
This is not a safe assumption. /issues/destroy?ids[]=19
is opened in a background tabs and erases with no confirmation.
(and erased all my data with rake db:migrate while I was at it, but that's not a fault you can fix...)
Please, don't make such a comment. rake db:migrate does not erase any data.
- Subject changed from Issues can be deleted by accident to Add a view to confirm issue deletion
- Tracker changed from Defect to Feature
- Category set to UI
- Resolution deleted (
Invalid)
- Related to Feature #33071: Prevent accidental deletion of contents with sudo mode added
Also available in: Atom
PDF