Feature #2893
openAdd a view to confirm issue deletion
0%
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)
Related issues
Updated by Jean-Philippe Lang almost 16 years ago
- Status changed from New to Closed
- Resolution set to Invalid
I'm not able to reproduce.
I've re-checked, the delete link of the context menu shows the confirmation dialog box before deleting the issue.
You can also see it in the view: source:/trunk/app/views/issues/context_menu.rhtml@2460#L92
Maybe you accidentally clicked on 'Yes' too :-)
Updated by Drarok Ithaqua almost 16 years ago
- 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.
Updated by Jean-Philippe Lang almost 16 years ago
(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.
Updated by Jean-Philippe Lang almost 16 years ago
- Subject changed from Issues can be deleted by accident to Add a view to confirm issue deletion
Updated by Jean-Philippe Lang almost 16 years ago
- Tracker changed from Defect to Feature
Updated by Toshi MARUYAMA over 13 years ago
- Category set to UI
- Resolution deleted (
Invalid)
Updated by Go MAEDA almost 5 years ago
- Related to Feature #33071: Prevent accidental deletion of contents with sudo mode added
Updated by Go MAEDA almost 3 years ago
- Related to Feature #8942: Soft deletion of ticket added