Actions
Defect #3498
closed500 internal error when listing issues from a particular tracker within a project
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
-
Start date:
2009-06-15
Due date:
% Done:
0%
Estimated time:
Resolution:
Invalid
Affected version:
Description
Using r2791
All other trackers in the same project, work.
The same tracker (the default "bug" FYI) in othe rprojects, can list all opened issues without a problem.
But in one project it fails with the following output in production.log
ActionView::TemplateError (undefined method `position' for nil:NilClass) on line #25 of app/views/issues/_list.rhtml: 22: </td> 23: </tr> 24: <% end %> 25: <tr id="issue-<%= issue.id %>" class="hascontextmenu <%= cycle('odd', 'even') %> <%= issue.css_classes %>"> 26: <td class="checkbox"><%= check_box_tag("ids[]", issue.id, false, :id => nil) %></td> 27: <td><%= link_to issue.id, :controller => 'issues', :action => 'show', :id => issue %></td> 28: <% query.columns.each do |column| %><%= content_tag 'td', column_content(column, issue), :class => column.name %><% end %> app/models/issue.rb:274:in `css_classes' app/views/issues/_list.rhtml:25 app/views/issues/_list.rhtml:14:in `each' app/views/issues/_list.rhtml:14 /var/lib/gems/1.8/gems/actionpack-2.2.2/lib/action_view/helpers/capture_helper.rb:36:in `call' /var/lib/gems/1.8/gems/actionpack-2.2.2/lib/action_view/helpers/capture_helper.rb:36:in `capture' /var/lib/gems/1.8/gems/actionpack-2.2.2/lib/action_view/helpers/capture_helper.rb:129:in `with_output_buffer' /var/lib/gems/1.8/gems/actionpack-2.2.2/lib/action_view/helpers/capture_helper.rb:36:in `capture' /var/lib/gems/1.8/gems/actionpack-2.2.2/lib/action_view/helpers/form_tag_helper.rb:460:in `form_tag_in_block' /var/lib/gems/1.8/gems/actionpack-2.2.2/lib/action_view/helpers/form_tag_helper.rb:39:in `form_tag'
Actions