Got internal error when request issue list
Added by Andrey Gazizov over 12 years ago
Hello,
After upgrade from 0.9.3 to 1.3.1 I've got an internal server error when I trying to view issue list. Logs below:
Processing IssuesController#index (for 172.25.172.141 at 2012-03-02 11:38:08) [GET]
Parameters: {"project_id"=>"task", "action"=>"index", "controller"=>"issues"}
Rendering template within layouts/base
Rendering issues/index
ActionView::TemplateError (undefined method `-' for nil:NilClass) on line #28 of app/views/issues/_list.html.erb:
25: </tr>
26: <% previous_group = group >
27: < end >
28: <tr id="issue-<= issue.id >" class="hascontextmenu <= cycle('odd', 'even') > <= issue.css_classes > <= level > 0 ? "idnt idnt-#{level}" : nil >">
29: <td class="checkbox hide-when-print"><= check_box_tag("ids[]", issue.id, false, :id => nil) ></td>
30: <td class="id"><= link_to issue.id, :controller => 'issues', :action => 'show', :id => issue ></td>
31: < query.columns.each do |column| ><= content_tag 'td', column_content(column, issue), :class => column.css_classes >< end %>
This occurs only in one project, all other projects not affected. Found only one issue similar to this. It described in Defect #7667, but have no idea what should be done to prevent this situation.
Replies (1)
RE: Got internal error when request issue list - Added by Andrey Gazizov over 12 years ago
Hi,
Fixed by modifying database columns.