Project

General

Profile

redmine burndow plugin

Added by Najam Alvi over 15 years ago

I have redmine 0.8.2.stable.2532 installed. I am using the burndown plugin version 1.1.3.
All goes well except the burndown, whenever I tried to viw burndown chart this error is generated.

Please help me out. I am thankful to you.

***************************************************************************************************
ActionView::TemplateError (undefined method `show_burndown_path' for #<ActionView::Base:0xb5597f30>) on line #9 of vendor/plugins/redmine_burndown/app/views/burndowns/show.html.erb:
6: <h3><%= l(:label_version_plural) ></h3>
7: <ul id="sprint_burndown_list">
8: <
@project.versions.each do |version| ->
9: <li<
= Q[ class="selected"] if @version == version %>><= link_to(version.name, show_burndown_path(:project_id => Herve Harster, :id => version)) ></li>
10: <
end ->
11: </ul>
12: <
end -%>
vendor/plugins/redmine_burndown/app/views/burndowns/show.html.erb:9:in `_run_erb_47vendor47plugins47redmine_burndown47app47views47burndowns47show46html46erb'
vendor/rails/activerecord/lib/active_record/associations/association_collection.rb:277:in `method_missing'
vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb:171:in `method_missing'
vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb:171:in `each'
vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb:171:in `send'
vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb:171:in `method_missing'
vendor/rails/activerecord/lib/active_record/associations/association_collection.rb:277:in `method_missing'
vendor/plugins/redmine_burndown/app/views/burndowns/show.html.erb:8:in `_run_erb_47vendor47plugins47redmine_burndown47app47views47burndowns47show46html46erb'
vendor/rails/actionpack/lib/action_view/helpers/capture_helper.rb:141:in `call'
vendor/rails/actionpack/lib/action_view/helpers/capture_helper.rb:141:in `capture_erb_with_buffer'
vendor/rails/actionpack/lib/action_view/helpers/capture_helper.rb:44:in `capture'
vendor/rails/actionpack/lib/action_view/helpers/capture_helper.rb:125:in `content_for'
app/helpers/application_helper.rb:599:in `content_for'
vendor/plugins/redmine_burndown/app/views/burndowns/show.html.erb:5:in `_run_erb_47vendor47plugins47redmine_burndown47app47views47burndowns47show46html46erb'
vendor/rails/actionpack/lib/action_view/base.rb:342:in `send'
vendor/rails/actionpack/lib/action_view/base.rb:342:in `execute'
vendor/rails/actionpack/lib/action_view/template_handlers/compilable.rb:29:in `send'
vendor/rails/actionpack/lib/action_view/template_handlers/compilable.rb:29:in `render'
vendor/rails/actionpack/lib/action_view/template.rb:35:in `render'
vendor/rails/actionpack/lib/action_view/template.rb:22:in `render_template'
vendor/rails/actionpack/lib/action_view/base.rb:248:in `render_file'
vendor/rails/actionpack/lib/action_controller/base.rb:1112:in `render_for_file'
vendor/rails/actionpack/lib/action_controller/base.rb:845:in `render_with_no_layout'
vendor/rails/actionpack/lib/action_controller/layout.rb:251:in `render_without_benchmark'
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in `render'
vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:8:in `realtime'
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in `render'
vendor/rails/actionpack/lib/action_controller/base.rb:1161:in `default_render'
vendor/rails/actionpack/lib/action_controller/base.rb:1167:in `perform_action_without_filters'
vendor/rails/actionpack/lib/action_controller/filters.rb:579:in `call_filters'
vendor/rails/actionpack/lib/action_controller/filters.rb:572:in `perform_action_without_benchmark'
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
/usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
vendor/rails/actionpack/lib/action_controller/rescue.rb:201:in `perform_action_without_caching'
vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:13:in `perform_action'
vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache'
vendor/rails/activerecord/lib/active_record/query_cache.rb:8:in `cache'
vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:12:in `perform_action'
vendor/rails/actionpack/lib/action_controller/base.rb:529:in `send'
vendor/rails/actionpack/lib/action_controller/base.rb:529:in `process_without_filters'
vendor/rails/actionpack/lib/action_controller/filters.rb:568:in `process_without_session_management_support'
vendor/rails/actionpack/lib/action_controller/session_management.rb:130:in `process'
vendor/rails/actionpack/lib/action_controller/base.rb:389:in `process'
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:149:in `handle_request'
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:107:in `dispatch'
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `synchronize'
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `dispatch'
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:120:in `dispatch_cgi'
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:35:in `dispatch'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/rails.rb:76:in `process'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/rails.rb:74:in `synchronize'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/rails.rb:74:in `process'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:282:in `run'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `each'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `run'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:128:in `run'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/command.rb:212:in `run'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281
vendor/rails/activesupport/lib/active_support/dependencies.rb:503:in `load'
vendor/rails/activesupport/lib/active_support/dependencies.rb:503:in `load'
vendor/rails/activesupport/lib/active_support/dependencies.rb:355:in `new_constants_in'
vendor/rails/activesupport/lib/active_support/dependencies.rb:503:in `load'
vendor/rails/railties/lib/commands/servers/mongrel.rb:64
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
vendor/rails/activesupport/lib/active_support/dependencies.rb:510:in `require'
vendor/rails/activesupport/lib/active_support/dependencies.rb:355:in `new_constants_in'
vendor/rails/activesupport/lib/active_support/dependencies.rb:510:in `require'
vendor/rails/railties/lib/commands/server.rb:39
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
script/server:3

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


Replies (3)

RE: redmine burndow plugin - Added by Jason Meridth about 15 years ago

Having same issue. Did you ever resolve this? Thanks in advance.

RE: redmine burndow plugin - Added by Najam Alvi about 15 years ago

Download redmine from

http://github.com/najamalvi/scrum_redmine

It has all the scrum functionality working correctly.

RE: redmine burndow plugin - Added by Robert Gruendler almost 15 years ago

if anyone else is trying to use the plugin and doesn't want to install a new redmine, here's how i fixed this error:

Disclaimer: I have no knowledge of ruby on rails, just a hack i made with some help of the #ror irc channel.

- Create a directory 'config' inside the redmine_burndown directory if it not already exists.
- Copy the routes.rb from the redmine_burndown dir to the config directory.
- Edit the file, so that it looks like this:

ActionController::Routing::Routes.draw do |map|
  map.latest_burndown 'projects/:project_id/burndown', :controller => 'burndowns', :action => 'show'
  map.show_burndown 'projects/:project_id/burndowns/:id', :controller => 'burndowns', :action => 'show'
end

- Restart redmine

    (1-3/3)