relaxdiego/redmine_backlogs — Issue #325: Sharing: internal server error at task board
Author: ekohl
Created: 2011-11-04 10:58:22+00:00
State: open

Let's see if I can fix the following.

```
Processing RbTaskboardsController#show (for 10.255.4.129 at 2011-09-06 12:25:19) [GET]
Parameters: {"sprint_id"=>"3", "action"=>"show", "controller"=>"rb_taskboards"}
Rendering template within layouts/rb
Rendering rb_taskboards/show

ActionView::TemplateError (wrong number of arguments (0 for 1)) on line #12 of vendor/plugins/redmine_backlogs/app/views/rb_impediments/_impediment.html.erb:
9:

<%= assignee_name_or_empty(impediment) %>

10:

<%= assignee_id_or_empty(impediment) %>

11:

12:

<%= remaining_hours(impediment) %>

13:

14: <% if User.current.allowed_to?(:log_time, @project) && @settings[:timelog_from_taskboard]=='enabled' %>
15:

vendor/plugins/redmine_backlogs/app/helpers/rb_common_helper.rb:118:in `remaining_hours'
vendor/plugins/redmine_backlogs/app/helpers/rb_common_helper.rb:118:in `remaining_hours'
vendor/plugins/redmine_backlogs/app/views/rb_impediments/_impediment.html.erb:12
vendor/plugins/redmine_backlogs/app/views/rb_taskboards/show.html.erb:48
vendor/plugins/redmine_backlogs/app/views/rb_taskboards/show.html.erb:46:in `each'
vendor/plugins/redmine_backlogs/app/views/rb_taskboards/show.html.erb:46
app/helpers/application_helper.rb:868:in `content_for'
vendor/plugins/redmine_backlogs/app/views/rb_taskboards/show.html.erb:31
vendor/plugins/redmine_backlogs/app/controllers/rb_taskboards_controller.rb:50:in `show'
vendor/plugins/redmine_backlogs/app/controllers/rb_taskboards_controller.rb:49:in `show'
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 `send'
passenger (3.0.7) lib/phusion_passenger/classic_rails/application_spawner.rb:275: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 `__send__'
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 `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 `spawn_rails_application'
passenger (3.0.7) lib/phusion_passenger/abstract_server_collection.rb:82: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 `__send__'
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

Rendering /home/redmine/redmine/public/500.html (500 Internal Server Error)
```