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

Error creating task #90

Open tommymolto opened 13 years ago

tommymolto commented 13 years ago

Using a bitnami redmine, installed the plugin, and when i try to create a task from the dashboard, it gives this error: Processing IssuesController#create (for 189.60.171.45 at 2011-06-09 14:55:19) [POST] Parameters: {"commit"=>"Create", "project_id"=>"suporte", "action"=>"create", "authenticity_token"=>"Ha5axDS1/MqjofR8zQtd+0tFZ5A+4VEZ+UiHv6YJSNQ=", "issue"=>{"start_date"=>"2011-06-09", "user_story_id"=>"23", "estimated_hours"=>"", "priority_id"=>"4", "parent_issue_id"=>"", "fixed_version_id"=>"5", "done_ratio"=>"0", "assigned_to_id"=>"", "subject"=>"teste", "tracker_id"=>"5", "due_date"=>"", "status_id"=>"1", "description"=>""}, "controller"=>"issues", "attachments"=>{"1"=>{"description"=>""}}}

TypeError (can't convert nil into String): lib/redmine/hook.rb:63:in send' lib/redmine/hook.rb:63:incall_hook' lib/redmine/hook.rb:63:in each' lib/redmine/hook.rb:63:incall_hook' lib/redmine/hook.rb:60:in tap' lib/redmine/hook.rb:60:incall_hook' lib/redmine/hook.rb:141:in call_hook' app/controllers/issues_controller.rb:134:increate' config/initializers/mongrel_cluster_with_rails_211_fix.rb:62:in `dispatch_cgi'

LuceIt commented 13 years ago

Take a look at this patch https://github.com/software-project/scrum-pm/pull/85