finnlabs/chiliproject_backlogs — Issue #2: display_main_menu for project fails
Author: tlan
Created: 2011-12-16 07:56:24+00:00
State: open

Processing ProjectsController#show (for 193.212.164.33 at 2011-12-16 08:51:25) [GET]
Parameters: {"controller"=>"projects", "action"=>"show", "id"=>"test"}
Rendering template within layouts/base
Rendering projects/show

ActionView::TemplateError (wrong number of arguments (1 for 0)) on line #53 of app/views/layouts/base.rhtml:
50:
51: <% if display_main_menu?(@project) %>
52:

53: <%= render_main_menu(@project) %>
54:

55: <% end %>
56:

vendor/plugins/chiliproject_backlogs/init.rb:114:in `block (3 levels) in evaluate_init_rb'
lib/redmine/menu_manager/menu_helper.rb:139:in `call'
lib/redmine/menu_manager/menu_helper.rb:139:in `allowed_node?'
lib/redmine/menu_manager/menu_helper.rb:109:in `block in menu_items_for'
lib/redmine/menu_manager/menu_helper.rb:108:in `each'
lib/redmine/menu_manager/menu_helper.rb:108:in `menu_items_for'
lib/redmine/menu_manager/menu_helper.rb:33:in `render_menu'
lib/redmine/menu_manager/menu_helper.rb:23:in `render_main_menu'
app/views/layouts/base.rhtml:53:in `_run_rhtml_app47views47layouts47base46rhtml'
app/controllers/projects_controller.rb:147:in `show'
:10:in `synchronize'
passenger (3.0.7) lib/phusion_passenger/rack/request_handler.rb:96:in `process_request'
passenger (3.0.7) lib/phusion_passenger/abstract_request_handler.rb:513:in `accept_and_process_next_request'
passenger (3.0.7) lib/phusion_passenger/abstract_request_handler.rb:274:in `main_loop'
passenger (3.0.7) lib/phusion_passenger/classic_rails/application_spawner.rb:321:in `start_request_handler'
passenger (3.0.7) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `block in handle_spawn_application'
passenger (3.0.7) lib/phusion_passenger/utils.rb:479:in `safe_fork'
passenger (3.0.7) lib/phusion_passenger/classic_rails/application_spawner.rb:270:in `handle_spawn_application'
passenger (3.0.7) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
passenger (3.0.7) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
passenger (3.0.7) lib/phusion_passenger/abstract_server.rb:180:in `start'
passenger (3.0.7) lib/phusion_passenger/classic_rails/application_spawner.rb:149:in `start'
passenger (3.0.7) lib/phusion_passenger/spawn_manager.rb:219:in `block (2 levels) in spawn_rails_application'
passenger (3.0.7) lib/phusion_passenger/abstract_server_collection.rb:132:in `lookup_or_add'
passenger (3.0.7) lib/phusion_passenger/spawn_manager.rb:214:in `block in spawn_rails_application'
passenger (3.0.7) lib/phusion_passenger/abstract_server_collection.rb:82:in `block in synchronize'
:10:in `synchronize'
passenger (3.0.7) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
passenger (3.0.7) lib/phusion_passenger/spawn_manager.rb:213:in `spawn_rails_application'
passenger (3.0.7) lib/phusion_passenger/spawn_manager.rb:132:in `spawn_application'
passenger (3.0.7) lib/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application'
passenger (3.0.7) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
passenger (3.0.7) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
passenger (3.0.7) helper-scripts/passenger-spawn-server:99:in `

'

I'm unable to go to the projects/-link when I have chiliproject_backlogs installed.