Vote #70971
完了Issues counters in roadmap only link to issues in the same project
0%
説明
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.
--------------------------------------------------------------------------------