Project

General

Profile

Actions

Defect #3691

closed

Redmine allows two files with the same file name to be uploaded to the same issue

Added by Derek McCallum over 15 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
Start date:
2009-07-29
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

If you upload two files with the same name to an issue ticket, it allows you to do so instead of enforcing uniqueness. However, it ends up creating one file on the filesystem and has two entries in the attachments table pointed to the one physical file on the filesystem. The one file on the file system gets written over so it actually ends up being the last duplicate file attached. So if you decide to delete one of the duplicate files via the interface, you end up with an orphaned link on the ticket.

Redmine 0.8.4
Rails 2.1.2
Ruby 1.8.6

Actions

Also available in: Atom PDF