プロジェクト

全般

プロフィール

Vote #79921

完了

Some issue fixtures are set inconsistent tracker id which is not available in the project

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

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

0%

予定工数:
category_id:
30
version_id:
127
issue_org_id:
31053
author_id:
259873
assigned_to_id:
332
comments:
3
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

Of the test data, issues_005, issues_013 and issues_014 use trackers which should not be available.

[1] pry(main)> Issue.where(id: [5, 13, 14]).select(:id, :project_id, :tracker_id)
=> [#,
 #,
 #]
 
[2] pry(main)> Project.find(3).tracker_ids # trackers available for project 3
=> [2, 3]

After applying the patch:

[1] pry(main)> Issue.where(id: [5, 13, 14]).select(:id, :project_id, :tracker_id)
=> [#,
 #,
 #]
 
[2] pry(main)> Project.find(3).tracker_ids # trackers available for project 3
=> [1, 2, 3]

journals

I confirmed that all tests were successful after applying the patch.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Committed the fix. Thanks.
--------------------------------------------------------------------------------

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

  • カテゴリCode cleanup/refactoring_30 にセット
  • 対象バージョン4.1.0_127 にセット

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

いいね!0
いいね!0