Migration error : Issues / Roadmap pages => Error 500
Added by Perry Rhodan over 14 years ago
Hi Team,
OS : Linux Ubuntu 10
Redmine : bitnami Redmine 1.0
Finally, I'm near to finish our migration from old release of Redmine. But there is still a problem :)
In projects where issues exist I get a problem to access to ISSUES PAGE and ROADMAP PAGE.
=> Error 500.
For project without issues or new project all are OK.
I guess there is an error in the issues table after migration. But I don't understand what.
Is there somebody who know a solution or source of problem?
Many thanks
Rhodan
Production.log
Error for ISSUES PAGE :
Processing IssuesController#index (for 85.170.29.202 at 2010-08-30 20:29:21) [GET] Parameters: {"project_id"=>"dartyboxadsl", "action"=>"index", "controller"=>"issues"} Rendering template within layouts/base Rendering issues/index.rhtml ActionView::TemplateError (undefined method `position' for nil:NilClass) on line #27 of app/views/issues/_list.rhtml: 24: </tr> 25: <% previous_group = group %> 26: <% end %> 27: <tr id="issue-<%= issue.id %>" class="hascontextmenu <%= cycle('odd', 'even') %> <%= issue.css_classes %> <%= level > 0 ? "idnt idnt-#{level}" : nil %>"> 28: <td class="checkbox"><%= check_box_tag("ids[]", issue.id, false, :id => nil) %></td> 29: <td class="id"><%= link_to issue.id, :controller => 'issues', :action => 'show', :id => issue %></td> 30: <% query.columns.each do |column| %><%= content_tag 'td', column_content(column, issue), :class => column.name %><% end %> app/models/issue.rb:476:in `css_classes' app/views/issues/_list.rhtml:27 app/helpers/issues_helper.rb:27:in `issue_list' app/helpers/issues_helper.rb:23:in `each' app/helpers/issues_helper.rb:23:in `issue_list' app/views/issues/_list.rhtml:16 app/views/issues/_list.rhtml:1:in `_run_rhtml_app47views47issues47_list46rhtml_locals_issues_list_object_query' app/views/issues/index.rhtml:62:in `_run_rhtml_app47views47issues47index46rhtml' app/controllers/issues_controller.rb:83 app/controllers/issues_controller.rb:82:in `index' Rendering /opt/bitnami/apps/redmine/public/500.html (500 Internal Server Error)
Error for ROADMAP PAGE :
Processing ProjectsController#roadmap (for 85.170.29.202 at 2010-08-30 20:28:33) [GET] Parameters: {"action"=>"roadmap", "id"=>"dartyboxadsl", "controller"=>"projects"} Rendering template within layouts/base Rendering projects/roadmap ActionView::TemplateError (undefined method `position' for nil:NilClass) on line #19 of app/views/projects/roadmap.rhtml: 16: <%- issues.each do |issue| -%> 17: <tr class="hascontextmenu"> 18: <td class="checkbox"><%= check_box_tag 'ids[]', issue.id %></td> 19: <td><%= link_to_issue(issue, :project => (@project != issue.project)) %></td> 20: </tr> 21: <%- end -%> 22: </table> app/models/issue.rb:476:in `css_classes' app/helpers/application_helper.rb:79:in `link_to_issue' app/views/projects/roadmap.rhtml:19 app/views/projects/roadmap.rhtml:16:in `each' app/views/projects/roadmap.rhtml:16 app/views/projects/roadmap.rhtml:13:in `_run_rhtml_app47views47projects47roadmap46rhtml' app/views/projects/roadmap.rhtml:7:in `each' app/views/projects/roadmap.rhtml:7:in `_run_rhtml_app47views47projects47roadmap46rhtml' Rendering /opt/bitnami/apps/redmine/public/500.html (500 Internal Server Error)