Project

General

Profile

Actions

Defect #31087

closed

Deleting a version silently deletes its attachments

Added by Go MAEDA about 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Files
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

Deleting a version which has one or more attachments unexpectedly succeeds if no issues are associated with the version.

You can reproduce the problem with the following steps:

1. Create a new version
2. Open the "Files" tab in the project menu
3. Attach a file to the version
4. Delete the version. Attached files are deleted along with the version without warning

I think Redmine should not allow deleting a version with attachments.

The problem was originally reported by Karel Pičman in #1265#note-6. He also provided a patch.


Files

31087.patch (1.03 KB) 31087.patch Takenori TAKAKI, 2019-03-26 09:44
Actions

Also available in: Atom PDF