Project

General

Profile

Actions

Defect #5874

closed

Error after updating trunk

Added by Hannes Horneber almost 14 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2010-07-12
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

Hi there,

I updated our redmine install to the current trunk rev.
After that I get the following error:

ActionView::TemplateError (undefined method `-' for nil:NilClass) on line #16 of app/views/issues/_list.rhtml:
13:     </tr></thead>
14:     <% previous_group = false %>
15:     <tbody>
16:     <% issue_list(issues) do |issue, level| -%>
17:   <% if @query.grouped? && (group = @query.group_by_column.value(issue)) != previous_group %>
18:     <% reset_cycle %>
19:     <tr class="group open">

    app/helpers/issues_helper.rb:28: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:in `_run_rhtml_app47views47issues47_list46rhtml_locals_issues_list_object_query'
    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:in `index'
    app/controllers/issues_controller.rb:82:in `index'
    /usr/lib/ruby/1.8/mongrel/rails.rb:76:in `process'
    /usr/lib/ruby/1.8/mongrel/rails.rb:74:in `synchronize'
    /usr/lib/ruby/1.8/mongrel/rails.rb:74:in `process'
    /usr/lib/ruby/1.8/mongrel.rb:159:in `process_client'
    /usr/lib/ruby/1.8/mongrel.rb:158:in `each'
    /usr/lib/ruby/1.8/mongrel.rb:158:in `process_client'
    /usr/lib/ruby/1.8/mongrel.rb:285:in `run'
    /usr/lib/ruby/1.8/mongrel.rb:285:in `initialize'
    /usr/lib/ruby/1.8/mongrel.rb:285:in `new'
    /usr/lib/ruby/1.8/mongrel.rb:285:in `run'
    /usr/lib/ruby/1.8/mongrel.rb:268:in `initialize'
    /usr/lib/ruby/1.8/mongrel.rb:268:in `new'
    /usr/lib/ruby/1.8/mongrel.rb:268:in `run'
    /usr/lib/ruby/1.8/mongrel/configurator.rb:282:in `run'
    /usr/lib/ruby/1.8/mongrel/configurator.rb:281:in `each'
    /usr/lib/ruby/1.8/mongrel/configurator.rb:281:in `run'
    /usr/lib/ruby/1.8/mongrel/command.rb:212:in `run'

After updating I did all the db:migration-stuff, so I don't think that
this is the cause of the error.

Some more info:

About your application's environment
Ruby version              1.8.6 (powerpc-linux)
RubyGems version          1.3.7
Rack version              1.0
Rails version             2.3.5
Active Record version     2.3.5
Active Resource version   2.3.5
Action Mailer version     2.3.5
Active Support version    2.3.5
Application root          /usr/local/share/redmine
Environment               development
Database adapter          mysql
Database schema version   20100705164950

About your Redmine plugins
Rate Plugin                    0.1.0
Mylyn Connector plugin         2.6.2.stable
Redmine iPhone plugin          0.0.1
Redmine Scrum Plugin           2.1 unstable
Redmine Graphs plugin          0.1.0
Redmine Time Tracker plugin    development
Redmine Scrum Sprints plugin   0.1.4
Redmine Schedules plugin       0.4.2
Redmine Reports plugin         0.1.0
Kanban                         0.2.0
Redmine ezSidebar plugin       0.1.1
Redmine Question plugin        0.3.0
Customer plugin                0.2.0
Timesheet Plugin               0.6.0
Redmine Hudson plugin          1.0.2
Redmine Releases plugin        0.0.1
Redmine Todo Lists plugin      0.0.4.1
Redmine Code Review plugin     0.3.0
Bots filter                    1.02
Bulk Time Entry                0.5.0
Redmine My Widgets plugin      0.1.0

Cheers

Actions

Also available in: Atom PDF