Defect #11869

Issue.css_classes set wrong priority number

Added by Yasuhiro Hara about 7 years ago. Updated about 7 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Issues
Target version:-
Resolution:Invalid Affected version:2.1.0

Description

Normal issues are displayed like Urgent issues on Redmine v2.1.0 Issues page.
I think the v2.0 source is correct.

Issue.rb (version 2.1)

  def css_classes
    s = "issue status-#{status_id} priority-#{priority_id}" 
    .
    .
    .
  end

Issue.rb (version 2.0)

  def css_classes
    s = "issue status-#{status.position} priority-#{priority.position}" 
    .
    .
    .
  end

--

My Redmine is running on Ubuntu 12.04 x64, and I'm using a theme Highrise

Environment:
  Redmine version                          2.1.0.stable
  Ruby version                             1.9.3 (x86_64-linux)
  Rails version                            3.2.8
  Environment                              production
  Database adapter                         Mysql2
Redmine plugins:
  redmine_logs                             0.0.4

Related issues

Related to Redmine - Defect #11880: Alternate theme colors by issue priority in issue list is... Closed

History

#1 Updated by Etienne Massip about 7 years ago

  • Status changed from New to Closed
  • Resolution set to Invalid

This has been changed with 2.1.0 because of #11304; you should report it to the theme author.

#2 Updated by Yasuhiro Hara about 7 years ago

Sorry, I had overlooked. Thank you for correction.

Also available in: Atom PDF