Project

General

Profile

Actions

Defect #13178

closed

error with r11298

Added by Chris Simmons over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

Getting the following error after upgrading to http://www.redmine.org/projects/redmine/repository/revisions/11298

Completed 500 Internal Server Error in 280ms

ActionView::Template::Error (undefined local variable or method `position_name' for #<IssuePriority:0x0000000724da40>):
29: </td>
30: </tr>
31: <% previous_group = group >
32: <
end >
33: <tr id="issue-<
= issue.id >" class="hascontextmenu <= cycle('odd', 'even') > <= issue.css_classes > <= level > 0 ? "idnt idnt-#{level}" : nil >">
34: <td class="checkbox hide-when-print"><
= check_box_tag("ids[]", issue.id, false, :id => nil) ></td>
35: <td class="id"><
= link_to issue.id, issue_path(issue) %></td>
app/models/issue_priority.rb:39:in `css_classes'
app/models/issue.rb:943:in `css_classes'
app/views/issues/_list.html.erb:32:in `block (2 levels) in app_views_issues_list_html_erb__1264040614499070713_60566480'
app/helpers/issues_helper.rb:29:in `block in issue_list'
app/helpers/issues_helper.rb:25:in `each'
app/helpers/issues_helper.rb:25:in `issue_list'
app/views/issues/_list.html.erb:19:in `block in app_views_issues_list_html_erb__1264040614499070713_60566480'
app/views/issues/_list.html.erb:1:in `_app_views_issues__list_html_erb__1264040614499070713_60566480'
app/views/issues/index.html.erb:62:in `_app_views_issues_index_html_erb___4370573480157988957_50100820'
app/controllers/issues_controller.rb:83:in `block (2 levels) in index'
app/controllers/issues_controller.rb:82:in `index'

Environment:
Redmine version 2.2.2.devel
Ruby version 1.9.3 (x86_64-linux)
Rails version 3.2.11
Environment production
Database adapter Mysql2
Redmine plugins:
no plugin installed

Thanks a lot, any idea when this revision will be part of the stable release?

Actions #1

Updated by Jean-Philippe Lang over 12 years ago

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

Make sure that you've properly migrated your database and restarted the application. position_name was added in a recent migration.

Actions

Also available in: Atom PDF