Actions
Patch #27885
closedEmpty email attachments are imported to Redmine, creating broken DB records
Patch #27885:
Empty email attachments are imported to Redmine, creating broken DB records
Description
Redmine generally disallows empty or 0-byte-sized attachments, this is not checked when importing attachments from emails through the MailHandler though.
In the case of an empty email attachment, an Attachment record is created, though without disk_filename, disk_directory and digest. The attachment is then shown in the attachment list of the issue, but clicking on the attachment link to see the attachment or to download it leads to an error, as there is no file on disk for that attachment.
Files
Actions