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

Cannot delete user stories #45

Closed axelc closed 14 years ago

axelc commented 14 years ago

When I try to delete a user story, i get the following error in the RedMine log:

Processing UserStoriesController#destroy (for xx.xx.x.x. at 2010-06-16 09:06:41) [POST] Parameters: {"confirm"=>"Are you sure?", "project_id"=>"eplatform", "method"=>"post", "action"=>"destroy", "authenticity_token"=>"VYBX4/Rc2V++Fo48hN3TDgJnQ2tcK6zoY/UO4biXZ0I=", "id"=>"67", "controller"=>"user_stories"}

NoMethodError (undefined method sprint_id' for #<UserStory:0xb582c674>): vendor/plugins/redmine_sprints/app/controllers/user_stories_controller.rb:112:indestroy' /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in service' /usr/lib/ruby/1.8/webrick/httpserver.rb:65:inrun' /usr/lib/ruby/1.8/webrick/server.rb:173:in start_thread' /usr/lib/ruby/1.8/webrick/server.rb:162:instart' /usr/lib/ruby/1.8/webrick/server.rb:162:in start_thread' /usr/lib/ruby/1.8/webrick/server.rb:95:instart' /usr/lib/ruby/1.8/webrick/server.rb:92:in each' /usr/lib/ruby/1.8/webrick/server.rb:92:instart' /usr/lib/ruby/1.8/webrick/server.rb:23:in start' /usr/lib/ruby/1.8/webrick/server.rb:82:instart'

Rendering /var/www/soft/redmine/public/500.html (500 Internal Server Error)

I'm using git version of the plugin. Any help?

Thanks in advance

software-project commented 14 years ago

Fixed, download latest version of plugin.

axelc commented 14 years ago

Cool, it's working fine now, thanks!