software-project/scrum-pm

Cannot delete user stories

Closed this issue · 2 comments

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

Fixed, download latest version of plugin.

Cool, it's working fine now, thanks!