Actions
Defect #28576
closedAttachments are added even if validation fails when updating an issue via email
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Fixed
Affected version:
Description
Setting: There's an issue that a required field's empty.
When I try to update the issue via e-mail (but not add value to the required field), Redmine rejects the e-mail update (as it should).
However if the e-mail has an attachment, it adds the attachment to the issue nevertheless.
What it should do is to reject the attachment also.
Files
Updated by Takenori TAKAKI about 6 years ago
- File 28576.patch 28576.patch added
I found the cause of this problem in MailHandler#receive_issue_reply.
I made a patch and attach it.
Updated by Go MAEDA about 6 years ago
- Target version set to 3.3.9
Setting the target version to 3.3.9.
Updated by Go MAEDA about 6 years ago
- Subject changed from Redmine rejects e-mail but adds the attachment to Attachments are added even if validation fails when updating an issue via email
- Status changed from New to Resolved
- Assignee set to Go MAEDA
- Resolution set to Fixed
Committed the patch. Thank you all for reporting and fixing the issue.
Updated by Go MAEDA about 6 years ago
- Status changed from Resolved to Closed
Merged to stable branches.
Actions