Project

General

Profile

Actions

Defect #7579

closed

Gantt tab gives internal error.

Added by Bryan Johnson about 13 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Gantt
Target version:
-
Start date:
2011-02-08
Due date:
% Done:

0%

Estimated time:
Resolution:
Wont fix
Affected version:

Description

I apologize, but I'm relatively new to RoR, and decided to move forward with a stable version of Redmine with a preconfigured environment. I selected BitNami RubyStack and installed Redmine as a module.

Everything was working great until I tried to make a filter change inside the Issues area. *note I've entered over 700 issues without problems. Then, the Gantt tab stopped working and reports an redMine500 Error. (see log results).

ENVIRONMENT COMPONENTS:
BitNami Redmine Stack ships with the following software versions:
- Redmine 1.1.1
- Apache 2.2.17
- ImageMagick 6.5.8
- MySQL 5.1.50
- Subversion 1.6.12
- Ruby 1.8.7-p249
- Rails 2.3.9
- RubyGems 1.3.7

PRODUCTION LOG - REPORT
...
Processing GanttsController#show (for 127.0.0.1 at 2011-02-08 14:03:39) [GET]
Parameters: {"project_id"=>"iris", "action"=>"show", "controller"=>"gantts"}
Rendering template within layouts/base
Rendering gantts/show

ActionView::TemplateError (comparison of Issue with Issue failed) on line #63 of app/views/gantts/show.html.erb:
60: # Width of the entire chart
61: g_width = (@gantt.date_to - @gantt.date_from + 1)*zoom
62:
63: @gantt.render(:top => headers_height + 8, :zoom => zoom, :g_width => g_width)
64:
65: g_height = [(20 * (@gantt.number_of_rows + 6))+150, 206].max
66: t_height = g_height + headers_height

lib/redmine/helpers/gantt.rb:676:in `sort!'
lib/redmine/helpers/gantt.rb:676:in `sort_issues!'
lib/redmine/helpers/gantt.rb:248:in `render_version'
lib/redmine/helpers/gantt.rb:203:in `render_project'
lib/redmine/helpers/gantt.rb:202:in `each'
lib/redmine/helpers/gantt.rb:202:in `render_project'
lib/redmine/helpers/gantt.rb:166:in `render'
app/views/gantts/show.html.erb:63
app/controllers/gantts_controller.rb:26
app/controllers/gantts_controller.rb:25:in `show'

Rendering rescues/layout (internal_server_error)
...


Related issues

Related to Redmine - Defect #7335: Sorting issues in gantt by date, not by idClosedToshi MARUYAMA2011-01-15

Actions
Actions

Also available in: Atom PDF