software-project/scrum-pm

Application error "NoMethodError ..."

Closed this issue · 4 comments

After install by instruction (How to install) on redmine 0.9.3 i have Application Error in Backlog and Dashboard

In development mode i have this information
First.

 NoMethodError in SprintsController#index

undefined method `to_date' for nil:NilClass

RAILS_ROOT: /var/www/apps/redmine-0.9.3-test-scrum-pm

Full Trace

/var/www/apps/redmine-0.9.3-test-scrum-pm/vendor/rails/activesupport/lib/active_support/whiny_nil.rb:52:in `method_missing'
/var/www/apps/redmine-0.9.3-test-scrum-pm/vendor/plugins/redmine_sprints/app/models/burndown.rb:13:in `initialize'
/var/www/apps/redmine-0.9.3-test-scrum-pm/vendor/plugins/redmine_sprints/app/controllers/sprints_controller.rb:217:in `new'
/var/www/apps/redmine-0.9.3-test-scrum-pm/vendor/plugins/redmine_sprints/app/controllers/sprints_controller.rb:217:in `burndown'
/var/www/apps/redmine-0.9.3-test-scrum-pm/vendor/rails/activesupport/lib/active_support/callbacks.rb:178:in `send'
/var/www/apps/redmine-0.9.3-test-scrum-pm/vendor/rails/activesupport/lib/active_support/callbacks.rb:178:in `evaluate_method'
/var/www/apps/redmine-0.9.3-test-scrum-pm/vendor/rails/activesupport/lib/active_support/callbacks.rb:166:in `call'
...

Second.

 NoMethodError in SprintsController#show

undefined method `to_date' for nil:NilClass

RAILS_ROOT: /var/www/apps/redmine-0.9.3-test-scrum-pm
Full Trace

/var/www/apps/redmine-0.9.3-test-scrum-pm/vendor/rails/activesupport/lib/active_support/whiny_nil.rb:52:in `method_missing'
/var/www/apps/redmine-0.9.3-test-scrum-pm/vendor/plugins/redmine_sprints/app/models/burndown.rb:13:in `initialize'
/var/www/apps/redmine-0.9.3-test-scrum-pm/vendor/plugins/redmine_sprints/app/controllers/sprints_controller.rb:217:in `new'
/var/www/apps/redmine-0.9.3-test-scrum-pm/vendor/plugins/redmine_sprints/app/controllers/sprints_controller.rb:217:in `burndown'
/var/www/apps/redmine-0.9.3-test-scrum-pm/vendor/rails/activesupport/lib/active_support/callbacks.rb:178:in `send'
/var/www/apps/redmine-0.9.3-test-scrum-pm/vendor/rails/activesupport/lib/active_support/callbacks.rb:178:in `evaluate_method'
/var/www/apps/redmine-0.9.3-test-scrum-pm/vendor/rails/activesupport/lib/active_support/callbacks.rb:166:in `call'
...

I installed plugin today

So it is working, right?

No, it is not working. Only application error

You have to set version end date. Go to settings> versions and assign date to each version.