Defect #9660
closed
Issues counters in roadmap only link to issues in the same project
Added by Sridhar Dhanapalan almost 13 years ago.
Updated about 10 years ago.
Description
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
Expected behaviour¶
The full list open/closed issues in the project is shown.
Actual behaviour¶
Only the matching issues in the same project are shown. Others are omitted.
Workaround¶
Manually edit the URL: change /projects/projectname/issues?
to just /issues?
.
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
Files
- Subject changed from closed/open issues counters in version summary only link to issues in the same project to Issues counters in roadmap only link to issues in the same project
- Category set to Roadmap
- Status changed from New to Confirmed
- Target version set to Candidate for next minor release
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.
- Target version changed from Candidate for next minor release to 2.6.0
- Status changed from Confirmed to Closed
- Assignee set to Jean-Philippe Lang
- Resolution set to Fixed
Patch committed in r13398 with slight changes: helper method renamed and moved to VersionHelper, thanks.
Also available in: Atom
PDF