Empty email attachments are imported to Redmine, creating broken DB records
Redmine generally disallows empty or 0-byte-sized attachments, this is not checked when importing attachments from emails through the
In the case of an empty email attachment, an
Attachment record is created, though without
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.