software-project / scrum-pm

Scrum PM is a plugin for Redmine ticket management system. It adds Scrum items like backlog, dashboard and others.
www.software-project.eu/EN/scrumpm
126 stars 47 forks source link

Application error "NoMethodError ..." #54

Closed georgyturevich closed 14 years ago

georgyturevich commented 14 years ago

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'
...
georgyturevich commented 14 years ago

I installed plugin today

software-project commented 14 years ago

So it is working, right?

georgyturevich commented 14 years ago

No, it is not working. Only application error

software-project commented 14 years ago

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