relaxdiego/redmine_backlogs — Issue #333: Plugin crash after merge.
Author: darklin
Created: 2011-11-07 14:51:36+00:00
State: open

I've merged to origin/master (fast-forward merge, no local changes) and plugin is crashing :(
Backtrace:

Processing RbMasterBacklogsController#show (for 10.144.1.11 at 2011-11-07 14:11:59) [GET]
Parameters: {"project_id"=>"ftw1", "action"=>"show", "controller"=>"rb_master_backlogs"}
Rendering template within layouts/rb
Rendering rb_master_backlogs/show

ActionView::TemplateError (wrong number of arguments (0 for 1)) on line #7 of vendor/plugins/redmine_backlogs/app/views/rb_stories/_tooltip.html.erb:
4: <%= I18n.t :story_points %>: <%= story_points_or_empty(tooltip) %>

5: <%= I18n.t :story_estimation_hours %>: <%= tooltip.estimated_hours %>

6: <%= I18n.t :story_spent_time %>: <%= tooltip.spent_hours.round(2) %>

7: <%= I18n.t :story_remaining_hours %>: <%= tooltip.remaining_hours %>
8:

<%= I18n.t :story_description %>
<%= textile_to_html(tooltip.description).gsub("\"", """) %>

vendor/plugins/redmine_backlogs/app/views/rb_stories/_tooltip.html.erb:7:in `remaining_hours'
vendor/plugins/redmine_backlogs/app/views/rb_stories/_tooltip.html.erb:7
vendor/plugins/redmine_backlogs/app/views/rb_stories/_story.html.erb:2
vendor/plugins/redmine_backlogs/app/views/rb_master_backlogs/_backlog.html.erb:18
vendor/plugins/redmine_backlogs/app/views/rb_master_backlogs/show.html.erb:39
app/helpers/application_helper.rb:868:in `content_for'
vendor/plugins/redmine_backlogs/app/views/rb_master_backlogs/show.html.erb:32
vendor/plugins/redmine_backlogs/app/controllers/rb_master_backlogs_controller.rb:24:in `show'
vendor/plugins/redmine_backlogs/app/controllers/rb_master_backlogs_controller.rb:23:in `show'
/usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
/usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
/usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
/usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
/usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
/usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:82:in `start'

Rendering /home/redmine12/redmine-1.2/public/500.html (500 Internal Server Error)

It happens when I checkout newer than 400e9b02da2a52c7cbfe74527c1d7b0171ba176a :(