プロジェクト

全般

プロフィール

Vote #79112

完了

Don't allow reassigning reported hours to the project if issue is a required field for time logs

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

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

0%

予定工数:
category_id:
13
version_id:
139
issue_org_id:
28110
author_id:
123866
assigned_to_id:
332
comments:
4
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
134
ステータス-->[Closed]

説明

The problem occurs in the latest Redmine version (3.4.2)

Settings:

!settings.PNG!

  • Create an issue
  • Log time on it
  • Delete the issue

The following pops out:

!reassign_dialog.png!

There, we can apply, violating the "required issue" constraint.


journals

Stephane, thanks for pointing this out.

Attached is a patch that fixes this issue. Also, it hides the option "Assign reported hours to the project" when the issue is required for time entries.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Marius, thank you for writing the patch. But I slightly modified because the patch cannot be cleanly applied to the current trunk.

I tested the patch and it works fine, setting target version to 3.4.5.
--------------------------------------------------------------------------------
Committed.
Thank you for reporting and fixing this issue.
--------------------------------------------------------------------------------


related_issues

relates,Closed,24577,Settings to make the issue and/or comment fields mandatory for time logs

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

  • カテゴリTime tracking_13 にセット
  • 対象バージョン3.4.5_139 にセット

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

いいね!0
いいね!0