Defect #8963
Undefined gantt_items_limit when trying to display gantt chart
| Status: | Reopened | Start date: | 2011-08-01 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 0% | |
| Category: | - | |||
| Target version: | - | |||
| Affected version: | Resolution: | Invalid |
Description
I am upgrading from 1.0.3 to 1.2.1 on Debian 6.0. I get the following error when trying to display a gantt chart:
NoMethodError (undefined method `gantt_items_limit' for #<Class:0x7f66a3a805c8>):
lib/redmine/helpers/gantt.rb:81:in `initialize'
app/controllers/gantts_controller.rb:34:in `new'
app/controllers/gantts_controller.rb:34:in `show'
About your application's environment
Ruby version 1.8.7 (x86_64-linux)
RubyGems version 1.3.7
Rack version 1.1.1
Rails version 2.3.11
Active Record version 2.3.11
Active Resource version 2.3.11
Action Mailer version 2.3.11
Active Support version 2.3.11
Edge Rails revision unknown
Application root /home/ivan/tmp/redmine-1.2.1
Environment production
Database adapter mysql
Database schema version 20110511000000
History
#1 Updated by Ivan Kanis almost 2 years ago
Probably related is when I do administration -> settings I get the following backtrace:
Processing SettingsController#index (for 192.168.0.52 at 2011-08-01 16:31:28) [GET]
Parameters: {"action"=>"index", "controller"=>"settings"}
Rendering template within layouts/admin
Rendering settings/edit
ActionView::TemplateError (undefined method `gantt_items_limit' for #<Class:0x7ff5ef8e6560>) on line #12 of app/views/settings/_issues.rhtml:
9:
10: <p><%= setting_text_field :issues_export_limit, :size => 6 ></p>
11:
12: <p><= setting_text_field :gantt_items_limit, :size => 6 ></p>
13: </div>
14:
15: <fieldset class="box settings"><legend><= l(:setting_issue_list_default_columns) %></legend>
app/helpers/settings_helper.rb:63:in `send'
app/helpers/settings_helper.rb:63:in `setting_text_field'
app/views/settings/_issues.rhtml:12:in `_run_rhtml_app47views47settings47_issues46rhtml_locals_issues_object_tab'
app/views/settings/_issues.rhtml:1:in `_run_rhtml_app47views47settings47_issues46rhtml_locals_issues_object_tab'
app/views/common/_tabs.rhtml:24:in `_run_rhtml_app47views47common47_tabs46rhtml_locals_object_tabs'
app/views/common/_tabs.rhtml:23:in `each'
app/views/common/_tabs.rhtml:23:in `_run_rhtml_app47views47common47_tabs46rhtml_locals_object_tabs'
app/helpers/application_helper.rb:218:in `render_tabs'
app/views/settings/edit.rhtml:3:in `_run_rhtml_app47views47settings47edit46rhtml'
app/controllers/settings_controller.rb:25:in `index'
Rendering /home/ivan/tmp/redmine-1.2.1/public/500.html (500 Internal Server Error)
#2 Updated by Jean-Philippe Lang almost 2 years ago
- Status changed from New to Closed
- Resolution set to Invalid
Your config/settings.yml is not up to date.
#3 Updated by Ivan Kanis almost 2 years ago
- Status changed from Closed to Reopened
Hi Jean-Philippe
I just checked that my settings.yml is the same as the one shipped within the tar ball redmine-1.2.1.tar.gz