プロジェクト

全般

プロフィール

Vote #73514

完了

Updating an issue with user or list format custom field, currently having value that is locked or removed, clears that field

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

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

0%

予定工数:
category_id:
2
version_id:
75
issue_org_id:
13396
author_id:
10359
assigned_to_id:
1
comments:
4
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
68
ステータス-->[Closed]

説明

This is the scenario:

issue is created and an active user is selected from the drop-down of the custom field with "user" format

that user is later locked

attempting to update the issue now clears the selection from the custom field

This is also happening on custom fields with "list" format, after the custom field list is updated.

It should be up to the person updating the issue to decide if new value should be selected rather than system clearing the field.


journals

This is a data loss issue.

The workaround is to never lock (remove from the system) users that are entered on "user format" custom fields and never remove entries from "list format" custom fields, but that forces us to keep invalid selections in the interface.

--------------------------------------------------------------------------------
A fix would be to add <option value="[currently entered value]">[currently entered value]</option> to the <select> when updating issues, if that option is not already present after generating all options for this dropdown.

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

--------------------------------------------------------------------------------
Fixed in 2.5.0.
--------------------------------------------------------------------------------

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

  • カテゴリIssues_2 にセット
  • 対象バージョン2.5.0_75 にセット

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

いいね!0
いいね!0