Project

General

Profile

Actions

Defect #19348

closed

Project name is missing for versions from sub-projects

Added by Sebastian Paluch almost 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Low
Category:
Roadmap
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

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.

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}")

Files

roadmap.png (9.38 KB) roadmap.png Sebastian Paluch, 2015-03-11 14:43
Actions #1

Updated by Jean-Philippe Lang almost 9 years ago

  • Target version set to 2.6.3
Actions #2

Updated by Jean-Philippe Lang almost 9 years ago

  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang
  • Resolution set to Fixed
Actions

Also available in: Atom PDF