Project

General

Profile

Actions

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.

Status:
Closed
Priority:
Normal
Category:
Roadmap
Target version:
Start date:
2011-11-25
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

Steps to reproduce

  1. in a project, create a new version with sharing set with all projects
  2. add issues from different projects to the version
  3. go to the version summary page, e.g. /versions/show/42
  4. notice the counters of closed and open projects, just below the progress bar — the numbers are correct
  5. 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

fixed_roadmap_links.diff (5.37 KB) fixed_roadmap_links.diff Danil Tashkinov, 2014-05-13 15:25
Actions #1

Updated by Jean-Philippe Lang almost 13 years ago

  • 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
Actions #2

Updated by Etienne Massip almost 13 years ago

  • 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
Actions #3

Updated by Danil Tashkinov over 10 years ago

Hi! We solve this problem by simple patch.

Actions #4

Updated by Toshi MARUYAMA over 10 years ago

  • Target version changed from Candidate for next minor release to 2.6.0
Actions #5

Updated by Jean-Philippe Lang about 10 years ago

  • 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.

Actions

Also available in: Atom PDF