Project

General

Profile

Error #1180

When I create a new milestone and open Gantt tab, it occued an error

Added by Steven Wong over 8 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Category:
Gantt
Start date:
2016-07-04
Due date:
2016-07-04
% Done:

100%

Estimated time:
Source:
Development
Detected on version:
Redmine version:
Redmine 3.3.0
Milestones:

Description

the error log as follow:

Redirected to http://redmine.utranshub.com/projects/demo/issues/gantt
Completed 302 Found in 12ms (ActiveRecord: 2.9ms)
Started GET "/projects/demo/issues/gantt" for 192.168.60.239 at 2016-06-25 11:44:32 +0800
Processing by GanttsController#show as HTML
  Parameters: {"project_id"=>"demo"}
  Current user: admin (id=1)
  Rendered queries/_filters.html.erb (14.9ms)
  Rendered gantts/show.html.erb within layouts/base (2497.4ms)
Completed 500 Internal Server Error in 2611ms (ActiveRecord: 52.5ms)
  Rendered /usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/exception_notification-4.1.4/lib/exception_notifier/views/exception_notifier/_request.text.erb (0.3ms)
  Rendered /usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/exception_notification-4.1.4/lib/exception_notifier/views/exception_notifier/_title.text.erb (0.2ms)
  Rendered /usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/exception_notification-4.1.4/lib/exception_notifier/views/exception_notifier/_session.text.erb (1.1ms)
  Rendered /usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/exception_notification-4.1.4/lib/exception_notifier/views/exception_notifier/_title.text.erb (0.1ms)
  Rendered /usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/exception_notification-4.1.4/lib/exception_notifier/views/exception_notifier/_environment.text.erb (1.8ms)
  Rendered /usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/exception_notification-4.1.4/lib/exception_notifier/views/exception_notifier/_title.text.erb (0.1ms)
  Rendered /usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/exception_notification-4.1.4/lib/exception_notifier/views/exception_notifier/_backtrace.text.erb (0.1ms)
  Rendered /usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/exception_notification-4.1.4/lib/exception_notifier/views/exception_notifier/_title.text.erb (0.1ms)
  Rendered /usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/exception_notification-4.1.4/lib/exception_notifier/views/exception_notifier/exception_notification.text.erb (11.2ms)

ActionView::Template::Error (undefined method `abort?' for #<Redmine::Helpers::Gantt:0x007f02ac6c2d38>):
    107: 
    108:   # Width of the entire chart
    109:   g_width = ((@gantt.date_to - @gantt.date_from + 1) * zoom).to_i
    110:   @gantt.render(:top => headers_height + 8,
    111:                 :zoom => zoom,
    112:                 :g_width => g_width,
    113:                 :subject_width => subject_width)
  plugins/advanced_roadmap/lib/advanced_roadmap/redmine_helpers_gantt_patch.rb:20:in `render_version_with_milestones'
  lib/redmine/helpers/gantt.rb:225:in `block (2 levels) in render_project'
  lib/redmine/helpers/gantt.rb:224:in `each'
  lib/redmine/helpers/gantt.rb:224:in `block in render_project'
  lib/redmine/helpers/gantt.rb:276:in `increment_indent'
  lib/redmine/helpers/gantt.rb:217:in `render_project'
  lib/redmine/helpers/gantt.rb:205:in `block in render'
  app/models/project.rb:796:in `block in project_tree'
  app/models/project.rb:792:in `each'
  app/models/project.rb:792:in `project_tree'
  lib/redmine/helpers/gantt.rb:203:in `render'
  app/views/gantts/show.html.erb:110:in `_app_views_gantts_show_html_erb___1297870265964519113_69824726509880'
  app/controllers/gantts_controller.rb:43:in `block (2 levels) in show'
  app/controllers/gantts_controller.rb:42:in `show'
  lib/redmine/sudo_mode.rb:63:in `sudo_mode'

Also available in: Atom PDF