relaxdiego/redmine_backlogs — Issue #385: redmine 1.3.0 + HEAD template error
Author: mcz
Created: 2011-12-28 20:03:53+00:00
State: open

Hey guys,

I just updated my Redmine to 1.3.0-stable and also updated backlogs to the current HEAD. When I go to plugin settings I get the following error in console using webrick:

```
Processing SettingsController#plugin (for 89.135.151.14 at 2011-12-28 20:58:26) [GET]
Parameters: {"action"=>"plugin", "id"=>"redmine_backlogs", "controller"=>"settings"}
Rendering template within layouts/admin
Rendering settings/plugin

ActionView::TemplateError (no such file to load -- prawn) on line #82 of vendor/plugins/redmine_backlogs/app/views/backlogs/_settings.html.erb:
79:
80:

81: <%= content_tag(:label, l(:backlogs_card_specification)) %>
82: <%= select_tag("settings[card_spec]", options_for_select(BacklogsCards::LabelStock::LAYOUTS.keys.sort.collect{|label| [label, label]}, Setting.plugin_redmine_backlogs[:card_spec])) %>
83:

84:
85:

vendor/plugins/redmine_backlogs/app/views/backlogs/_settings.html.erb:82
app/views/settings/plugin.html.erb:6
app/views/settings/plugin.html.erb:4
/usr/local/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
/usr/local/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
/usr/local/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
/usr/local/lib/ruby/1.8/webrick/server.rb:162:in `start'
/usr/local/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
/usr/local/lib/ruby/1.8/webrick/server.rb:95:in `start'
/usr/local/lib/ruby/1.8/webrick/server.rb:92:in `each'
/usr/local/lib/ruby/1.8/webrick/server.rb:92:in `start'
/usr/local/lib/ruby/1.8/webrick/server.rb:23:in `start'
/usr/local/lib/ruby/1.8/webrick/server.rb:82:in `start'
```

Also if I want to move a backlog item I get this error message in the console:

```
Processing ApplicationController#update (for 89.135.151.14 at 2011-12-28 21:01:45) [PUT]
Parameters: {"project_id"=>"44", "action"=>"update", "fixed_version_id"=>"", "_method"=>"put", "authenticity_token"=>"VtbDrqH8Cf99rypSwE+XipEYwAJ9SD5yctnDmh06Ksw=", "id"=>"830", "controller"=>"rb_stories", "prev"=>""}

MissingSourceFile (no such file to load -- prawn):
vendor/plugins/redmine_backlogs/app/controllers/rb_stories_controller.rb:1
/usr/local/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
/usr/local/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
/usr/local/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
/usr/local/lib/ruby/1.8/webrick/server.rb:162:in `start'
/usr/local/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
/usr/local/lib/ruby/1.8/webrick/server.rb:95:in `start'
/usr/local/lib/ruby/1.8/webrick/server.rb:92:in `each'
/usr/local/lib/ruby/1.8/webrick/server.rb:92:in `start'
/usr/local/lib/ruby/1.8/webrick/server.rb:23:in `start'
/usr/local/lib/ruby/1.8/webrick/server.rb:82:in `start'

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

Do you guys have any suggestion?

Thank you and happy holidays.