プロジェクト

全般

プロフィール

Vote #70971

完了

Issues counters in roadmap only link to issues in the same project

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

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

0%

予定工数:
category_id:
22
version_id:
81
issue_org_id:
9660
author_id:
21248
assigned_to_id:
1
comments:
5
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
27
ステータス-->[Closed]

説明

h3. Steps to reproduce

in a project, create a new version with sharing set with all projects

add issues from different projects to the version

go to the version summary page, e.g. /versions/show/42

notice the counters of closed and open projects, just below the progress bar — the numbers are correct

click on one of the counters to be taken to the list

h3. Expected behaviour

The full list open/closed issues in the project is shown.

h3. Actual behaviour

Only the matching issues in the same project are shown. Others are omitted.

h3. Workaround

Manually edit the URL: change @/projects/projectname/issues?@ to just @/issues?@.

h3. Server information

OS: Ubuntu 10.04.3 LTS
Database: mysql-common-5.1.41-3ubuntu12.10
Ruby: ruby1.8-1.8.7.249-2
Redmine: 1.2.0.stable.6069


journals

--------------------------------------------------------------------------------
I do confirm there is something wrong, but the answer is not that simple.

Notes:
* This issue most basic behavior is due to the use of @version.project@ for 'Shared with all projects' versions; adding a @version.top_project@ returning @nil@ for this kind of version sharing might be a lead
* The version issue list is not exactly the same in @version/show@ and @version/index@ (a.k.a. Roadmap), I guess because of ??Display subproject issues?? administration setting
* This setting could be implemented another way in issue list with a Subproject filter set to none by default

--------------------------------------------------------------------------------
Hi! We solve this problem by simple patch.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Patch committed in r13398 with slight changes: helper method renamed and moved to VersionHelper, thanks.
--------------------------------------------------------------------------------

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

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

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

いいね!0
いいね!0