プロジェクト

全般

プロフィール

Vote #76173

完了

Project name is missing for versions from sub-projects

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

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

0%

予定工数:
category_id:
22
version_id:
91
issue_org_id:
19348
author_id:
115781
assigned_to_id:
1
comments:
2
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
89
ステータス-->[Closed]

説明

In r13325 a change has been done to remove project name for not shared versions but now when showing a Roadmap including sub-projects, sub-project name is not added to not shared versions from sub-projects and it is not clear what the versions are for.

!roadmap.png!

I don't know for what use cases the change was done but it seems that wrong logic operator has been used, AND should be used instead OR.

  def format_version_name(version)  
    if !version.shared? && version.project == @project
      h(version)
    else
      h("#{version.project} - #{version}")

journals

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

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

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

  • カテゴリRoadmap_22 にセット
  • 対象バージョン2.6.3_91 にセット

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

いいね!0
いいね!0