プロジェクト

全般

プロフィール

Vote #78906

完了

"Name" field in the 'edit version' form has no "maxlength"

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

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

0%

予定工数:
category_id:
10
version_id:
127
issue_org_id:
27330
author_id:
153590
assigned_to_id:
1
comments:
3
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
133
ステータス-->[Closed]

説明

Edit a version (project settings -> versions -> "Edit" some version in the list)

try to input a long "name" in the form (>60 characters)

click "Save"

A request is sent to the server; as the result, the form complains about "Name is too long (maximum is 60 characters)".

The @@ tag for version name should have attribute @maxlength@ set to "60". Then the content of that field will naturally be limited to 60 characters.

I attach a patch for this (created on trunk r17016).


journals

Sorry, the first patch i attached was created in the wrong folder (and thus contains wrong path to the modified file).
I now attach the corrected patch, created from the root folder of the Redmine repo.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Committed, thanks.
--------------------------------------------------------------------------------

Admin Redmine さんが3年以上前に更新

  • カテゴリUI_10 にセット
  • 対象バージョン4.1.0_127 にセット

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

いいね!0
いいね!0