Defect #26468

Using custom fields of type "File" leads to unsolvable error if filetype is not allowed

Added by Mischa Mundwiler over 1 year ago. Updated about 1 year ago.

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


Category:Custom fields
Target version:3.4.3
Resolution:Fixed Affected version:3.4.1


I have setup the following custom field using the "File" format with the restriction of allowed filetypes: doc, docx, pdf

If I create a new ticket with any of the three types everything is fine.

But if I upload a file of differnte file type I get the following message:

- CR-Dokument is invalid (Allowed extensions: doc, docx, pdf) -> this is OK

BUT: I cannot change the document anymore nor can I remove it. Therefore I am stuck in the dialog and the only possiblity is to cancel everyhting (compare attached screenshot).

Expected behavior: Upload another file or remove it should be possible.

Error-CustomDocument.png (257 KB) Mischa Mundwiler, 2017-07-18 13:44

Associated revisions

Revision 16835
Added by Jean-Philippe Lang over 1 year ago

Fixed that remove upload icon is not visible after submitting the form (#26468).


#1 Updated by Jean-Philippe Lang over 1 year ago

  • Status changed from New to Resolved
  • Assignee set to Jean-Philippe Lang
  • Target version set to 3.4.3
  • Resolution set to Fixed

Indeed, the icon to remove the file is not visible after submitting the form (even if it's not visible, you should be able to click on it just on the right of the field that holds the filename).
This should be fixed by r16835.

#2 Updated by Jean-Philippe Lang about 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF