Project

General

Profile

Actions

Defect #26468

closed

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

Added by Mischa Mundwiler over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Category:
Custom fields
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

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.


Files

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

Updated by Jean-Philippe Lang over 7 years 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.

Actions #2

Updated by Jean-Philippe Lang over 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF