Using custom fields of type "File" leads to unsolvable error if filetype is not allowed
|Assignee:||Jean-Philippe Lang||% Done:|
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.
#1 Updated by Jean-Philippe Lang 28 days 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.