Project

General

Profile

Error #1343

Fail to render Gantt

Added by Emilio González Montaña over 7 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Normal
Category:
Gantt
Start date:
2017-04-21
Due date:
2017-04-21
% Done:

100%

Estimated time:
Source:
Customer
Detected on version:
Redmine version:
Redmine 3.3.1
Milestones:

Description

ActionView::Template::Error (undefined local variable or method `label_milestone_plural' for #<Redmine::Helpers::Gantt:0x00000004bab748>):
    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:48:in `block in subject_for_milestones_label'
  plugins/advanced_roadmap/lib/advanced_roadmap/redmine_helpers_gantt_patch.rb:47:in `subject_for_milestones_label'
  plugins/advanced_roadmap/lib/advanced_roadmap/redmine_helpers_gantt_patch.rb:22:in `block in render_project_with_milestones'
  lib/redmine/helpers/gantt.rb:276:in `increment_indent'
  plugins/advanced_roadmap/lib/advanced_roadmap/redmine_helpers_gantt_patch.rb:19:in `render_project_with_milestones'
  lib/redmine/helpers/gantt.rb:205:in `block in render'
  app/models/project.rb:809:in `block in project_tree'
  app/models/project.rb:805:in `each'
  app/models/project.rb:805: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___3059271914638221552_49962380'
  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