finnlabs/chiliproject_backlogs — Issue #9: Invalid Value for Integer: "story_trackers"
Author: that0n3guy
Created: 2012-01-31 04:46:32+00:00
State: open

I just did a fresh install of 2.6 (on ubuntu 10.10 using the 2012 branch of yourchili https://github.com/ericpaulbishop/yourchili).

I can't get to the main plugin settings as I get this (sorry about the formatting, copied from vim):

ActionView::TemplateError (invalid value for Integer: "story_trackers") on line #42 of vendor/plugins/chiliproject_backlogs/app/views/shared/_settings.html.erb:
39:

40: <%= label_tag("settings[story_trackers]", l(:backlogs_story_tracker)) %>
41: <%= select_tag("settings[story_trackers]",
42: options_from_collection_for_select(Tracker.all, :id, :name,
Story.trackers), :multiple => true) %>
43:

44:

45: <%= label_tag("settings[task_tracker]", l(:backlogs_task_tracker)) %>

vendor/plugins/chiliproject_backlogs/app/models/story.rb:67:in `Integer'
vendor/plugins/chiliproject_backlogs/app/models/story.rb:67:in `trackers'
vendor/plugins/chiliproject_backlogs/app/models/story.rb:67:in `each'
vendor/plugins/chiliproject_backlogs/app/models/story.rb:67:in `map'
vendor/plugins/chiliproject_backlogs/app/models/story.rb:67:in `trackers'
vendor/plugins/chiliproject_backlogs/app/views/shared/_settings.html.erb:42
app/views/settings/plugin.rhtml:6:in `_run_rhtml_app47views47settings47plugi
n46rhtml'
app/views/settings/plugin.rhtml:4:in `_run_rhtml_app47views47settings47plugi
n46rhtml'
passenger (3.0.11) lib/phusion_passenger/rack/request_handler.rb:96:in `proc
ess_request'
passenger (3.0.11) lib/phusion_passenger/abstract_request_handler.rb:513:in
`accept_and_process_next_request'
passenger (3.0.11) lib/phusion_passenger/abstract_request_handler.rb:274:in
`main_loop'
passenger (3.0.11) lib/phusion_passenger/rack/application_spawner.rb:206:in
`start_request_handler'
passenger (3.0.11) lib/phusion_passenger/rack/application_spawner.rb:171:in
`send'
passenger (3.0.11) lib/phusion_passenger/rack/application_spawner.rb:171:in
`handle_spawn_application'
passenger (3.0.11) lib/phusion_passenger/utils.rb:479:in `safe_fork'
passenger (3.0.11) lib/phusion_passenger/rack/application_spawner.rb:166:in
`handle_spawn_application'
passenger (3.0.11) lib/phusion_passenger/abstract_server.rb:357:in `__send__
'
passenger (3.0.11) lib/phusion_passenger/abstract_server.rb:357:in `server_m
ain_loop'
passenger (3.0.11) lib/phusion_passenger/abstract_server.rb:206:in `start_sy
nchronously'
passenger (3.0.11) lib/phusion_passenger/abstract_server.rb:180:in `start'
passenger (3.0.11) lib/phusion_passenger/rack/application_spawner.rb:129:in
`start'
passenger (3.0.11) lib/phusion_passenger/spawn_manager.rb:253:in `spawn_rack
_application'
passenger (3.0.11) lib/phusion_passenger/abstract_server_collection.rb:132:i
n `lookup_or_add'
passenger (3.0.11) lib/phusion_passenger/spawn_manager.rb:246:in `spawn_rack
_application'
passenger (3.0.11) lib/phusion_passenger/abstract_server_collection.rb:82:in
`synchronize'
passenger (3.0.11) lib/phusion_passenger/abstract_server_collection.rb:79:in
`synchronize'
passenger (3.0.11) lib/phusion_passenger/spawn_manager.rb:244:in `spawn_rack
_application'
passenger (3.0.11) lib/phusion_passenger/spawn_manager.rb:137:in `spawn_appl
ication'
passenger (3.0.11) lib/phusion_passenger/spawn_manager.rb:275:in `handle_spa
wn_application'
passenger (3.0.11) lib/phusion_passenger/abstract_server.rb:357:in `__send__
'
passenger (3.0.11) lib/phusion_passenger/abstract_server.rb:357:in `server_m
ain_loop'
passenger (3.0.11) lib/phusion_passenger/abstract_server.rb:206:in `start_sy
nchronously'
passenger (3.0.11) helper-scripts/passenger-spawn-server:99

Rendering /srv/www/chili.stscode.com/chili/public/500.html (500 Internal Server
Error)