Defect #19348

Project name is missing for versions from sub-projects

Added by Sebastian Paluch about 3 years ago. Updated about 3 years ago.

Status:ClosedStart date:
Priority:LowDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:Roadmap
Target version:2.6.3
Resolution:Fixed Affected version:2.6.2

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

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

Associated revisions

Revision 14108
Added by Jean-Philippe Lang about 3 years ago

Restored project name as version prefix when different (#19348).

History

#1 Updated by Jean-Philippe Lang about 3 years ago

  • Target version set to 2.6.3

#2 Updated by Jean-Philippe Lang about 3 years ago

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

Also available in: Atom PDF