Defect #11869

Issue.css_classes set wrong priority number

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

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


Target version:-
Resolution:Invalid Affected version:2.1.0


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

Issue.rb (version 2.0)

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


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

  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


#1 Updated by Etienne Massip over 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 over 7 years ago

Sorry, I had overlooked. Thank you for correction.

Also available in: Atom PDF