Project

General

Profile

Actions

Defect #6387

closed

TemplateError when viewing gantt chart from parent project

Added by ChunChang (Nagaharu) Lo about 14 years ago. Updated about 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Gantt
Target version:
-
Start date:
2010-09-14
Due date:
% Done:

0%

Estimated time:
Resolution:
Duplicate
Affected version:

Description

Not every parent project has this error, I don't know the difference between them.

If the error happened in one parent project, the error message is always like the following one:

Processing GanttsController#show (for xxx.xxx.xxx.xx at 2010-09-14 11:38:25) [GET]
  Parameters: {"project_id"=>"misc-projects", "action"=>"show", "controller"=>"gantts"}
Rendering template within layouts/base
Rendering gantts/show

ActionView::TemplateError (undefined method `<=' for nil:NilClass) on line #155 of app/views/gantts/show.html.erb:
152:
153: <% top = headers_height + 10 %>
154:
155: <%= @gantt.lines(:top => top, :zoom => zoom, :g_width => g_width ) %>
156:
157: <%
158: #

    lib/redmine/helpers/gantt.rb:301:in `line_for_project'
    lib/redmine/helpers/gantt.rb:172:in `render_project'
    lib/redmine/helpers/gantt.rb:194:in `render_project'
    lib/redmine/helpers/gantt.rb:193:in `render_project'
    lib/redmine/helpers/gantt.rb:151:in `lines'
    app/views/gantts/show.html.erb:155
    app/controllers/gantts_controller.rb:26:in `show'
    app/controllers/gantts_controller.rb:25:in `show'
    public/dispatch.fcgi:24

Rendering /var/www/html/redmine/public/500.html (500 Internal Server Error)

Related issues

Is duplicate of Redmine - Defect #6350: New Gantt charts : 500 error when no issue have a due dateClosed2010-09-10

Actions
Actions

Also available in: Atom PDF