プロジェクト

全般

プロフィール

Vote #76673

完了

Setting Category/Version as a required field causes error in projects without categories/versions

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

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

0%

予定工数:
category_id:
41
version_id:
102
issue_org_id:
20583
author_id:
63397
assigned_to_id:
1
comments:
4
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
86
ステータス-->[Closed]

説明

When I go to "Administration" --> "Workflow" --> "Fields permissions", then I can set the "Category" as required. The effect now is, that when I create or edit an issue, the field "Category" is required.

But if the project has no defined categories, this validation accidently tells me, that no category is selected. In my opinion the validation should only check in projects, where one ore more categories are present.


journals

I will +1 this as it's annoying to have to create a single category for a project when it's required for another project.
Ideally, however, this should be fixed as part of #1853 by having the workflow per-project.
--------------------------------------------------------------------------------
The same can be said about the "Target version".

I think that the cause of annoyance is that the user cannot know the field is required before submitting the form because "Category" and "Target version" are hidden when they don't have any value.

I think the solution for this issue is to implement #18004. It makes those fields visible at all time, so the user can understand the field is required at a glance whether or not those fields have values.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Fixed in r14733.
--------------------------------------------------------------------------------


related_issues

relates,Closed,18004,Do NOT hide category and version fields on issue form when no category or version is configured

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

  • カテゴリIssues workflow_41 にセット
  • 対象バージョン3.2.0_102 にセット

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

いいね!0
いいね!0