プロジェクト

全般

プロフィール

Vote #78648

完了

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

Admin Redmine さんが約4年前に追加. 約4年前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Custom fields_14
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
14
version_id:
133
issue_org_id:
26468
author_id:
174092
assigned_to_id:
1
comments:
2
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
130
ステータス-->[Closed]

説明

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.


journals

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.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

Admin Redmine さんが約4年前に更新

  • カテゴリCustom fields_14 にセット
  • 対象バージョン3.4.3_133 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0