kulesa/redmine_better_gantt_chart — Issue #48: Internal Error
Author: juliuszar
Created: 2012-02-22 18:29:04+00:00
State: open

Redmine 1.3.1
I get Internal Server error 500 when accessing gantt page.
Plugin installed on a existing setup (with data).

This is the log:

ActionView::TemplateError (undefined method `<=>' for nil:NilClass) on line #56 of vendor/plugins/redmine_better_gantt_chart/app/views/gantts/show.html.erb:
53: # Width of the entire chart
54: g_width = (@gantt.date_to - @gantt.date_from + 1)*zoom
55:
56: @gantt.render(:top => headers_height + 8, :zoom => zoom, :g_width => g_width, :subject_width => subject_width)
57:
58: g_height = [(20 * (@gantt.number_of_rows + 6))+150, 206].max
59: t_height = g_height + headers_height

app/models/project.rb:660:in `project_tree'
app/models/project.rb:656:in `each'
app/models/project.rb:656:in `project_tree'
vendor/plugins/redmine_better_gantt_chart/app/views/gantts/show.html.erb:56
config/initializers/mongrel_cluster_with_rails_211_fix.rb:62:in `dispatch_cgi'

Rendering /opt/bitnami/apps/redmine/public/500.html (500 Internal Server Error)

Thanks in advance for your help.