Defect #8793
closedAttachment lost when filed validation fails
0%
Description
Attaching a dummy attachment
Files
Related issues
Updated by Dan Dascalescu over 13 years ago
The description is so short because I submitted the bug too quickly. This is how to reproduce:
1. Have a Redmine configured to have at least one required field on the submit issue page, and that field is not already filled-in with some preselected value. For this Redmine instance at redmine.org, that field would be the Subject field. Leave that field blank.
2. Browse for an attachment and select it. Also enter a description.
3. Click "Create".
You'll get an error that "Subject can't be blank", and the attachment and its description will be blank.
Not sure if this is related: issue #6625.
Updated by Go MAEDA over 9 years ago
- Status changed from New to Closed
- Resolution set to Fixed
Probably implemented in r10977 and 10977 (Redmine 2.3).
In current versions, attachments are kept even after validation errors.