Issues view on a single project gives error
Added by shikari shambu about 14 years ago
I merged this project that is giving me error from a different redmine server - I used database scripts to migrate the data.
when I click on issues I get the following error
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 hide-when-print"><%= 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:525: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
This only happens for this project. All other projects on the same server are working fine