Project

General

Profile

Actions

Defect #6625

closed

Attachments lost when activity field error occures

Added by Maxim Strukov about 14 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Attachments
Target version:
-
Start date:
2010-10-11
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

If there is activity field error (set Timelog, but not set Activity type) Redmine does not save attached files and I need attach it once again.


Files

clearatt.png (366 KB) clearatt.png Maxim Strukov, 2010-10-11 15:09

Related issues

Related to Redmine - Defect #4401: Attachments get saved on issue update even if validation failsClosed2009-12-15

Actions
Has duplicate Redmine - Defect #8793: Attachment lost when filed validation failsClosed2011-07-12

Actions
Actions #1

Updated by Holger Just about 14 years ago

This was introduced in r3305.

I think it is rather hard to really say which of the two cases is better:
  • throw the file away and thus have atomic update operations
  • attach the file nevertheless the other fields are invalid

The second case is better for larger files where uploading can take some significant time, the first case fits the currently designed workflow better, where we have atomic operations everywhere in Redmine.

Actions #2

Updated by Maxim Strukov about 14 years ago

Redmine can check the field before sending to the server without reloading page? In this case file will still not loaded, but already choosed and ready for upload.

Actions #3

Updated by Etienne Massip over 13 years ago

  • Category set to Attachments
Actions #4

Updated by Peter Englmaier almost 13 years ago

This issue seems not to be worked on and is still present in Redmine 1.2.2.stable.7811.

Please add the issue to the 'Candidate for next minor release' list!

Actions #5

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.

Actions

Also available in: Atom PDF