Feature #10253

Better handling of attachments when validation fails

Added by Jean-Philippe Lang over 10 years ago. Updated about 10 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:Attachments
Target version:1.4.0
Resolution:Fixed

Description

When creating or updating an issue, the uploaded attachments are lost if the validation fails (eg. required field left blank). The user needs to select them again and reupload them.

Uploaded attachments should be preserved when the user re-submit the form.


Related issues

Related to Redmine - Defect #36860: Attachment file still exists if ticket is not created Closed
Related to Redmine - Defect #22176: Orphaned attachments Closed
Related to Redmine - Feature #36875: Run garbage collection by clicking on the admin site New

Associated revisions

Revision 8891
Added by Jean-Philippe Lang over 10 years ago

Better handling of attachments when issue validation fails (#10253).

Revision 8893
Added by Jean-Philippe Lang over 10 years ago

Adds a rake test that removes old unattached uploads (#10253).

History

#1 Updated by Axel Clifford about 10 years ago

This would be an awesome addition/fix!

+1

#2 Updated by Jean-Philippe Lang about 10 years ago

  • Status changed from New to Closed
  • Resolution set to Fixed

Done.

#3 Updated by Go MAEDA about 1 month ago

  • Related to Defect #36860: Attachment file still exists if ticket is not created added

#4 Updated by Go MAEDA about 1 month ago

#5 Updated by Go MAEDA about 1 month ago

  • Related to Feature #36875: Run garbage collection by clicking on the admin site added

Also available in: Atom PDF