Actions
Defect #4088
closedUpdate from r2943 to r2952 causes 500 Internal Server Error with enumerations
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2009-10-22
Due date:
% Done:
0%
Estimated time:
Resolution:
Invalid
Affected version:
Description
Updated my redmine installation from trunk r2943 to r2952. With this updates I experience an 500 Internal Server Error when I select enumerations in the administration. Creating a project runs in that error 500 too.
Processing EnumerationsController#index (for XXX.XXX.XXX.XXX at 2009-10-22 10:02:43) [GET] Parameters: {"action"=>"index", "controller"=>"enumerations"} Rendering template within layouts/base Rendering enumerations/list ActionView::TemplateError (Mysql::Error: Unknown column 'enumerations.project_id' in 'where clause': SELECT count(*) AS count_all FROM `enumerations` WHERE (`enumerations`.`project_id` IS NULL) AND ( (`enumerations`.`type` = 'TimeEntryActivity' ) ) ) on line #7 of app/views/enumerations/list.rhtml: 4: <h3><%= l(klass::OptionName) %></h3> 5: 6: <% enumerations = klass.all %> 7: <% if enumerations.any? %> 8: <table class="list"> 9: <tr> 10: <th><%= l(:field_name) %></th> app/views/enumerations/list.rhtml:7:in `_run_rhtml_app47views47enumerations47list46rhtml' app/views/enumerations/list.rhtml:3:in `each' app/views/enumerations/list.rhtml:3:in `_run_rhtml_app47views47enumerations47list46rhtml' app/controllers/enumerations_controller.rb:26:in `index' dispatch.fcgi:24 Rendering /home/xxxxx/etc/rails_apps/redmine/public/500.html (500 Internal Server Error)
Rollback solves the problem.
Actions