Open heng7 opened 14 years ago
Maybe because you use Redmine1.0.x. I had the same problem.
Redmine have changed data structures of the attachment files. Add Task will fail with NoMethodError.
Rewrite it like this.
--- a/app/controllers/issue_sprints_controller.rb +++ b/app/controllers/issue_sprints_controller.rb @@ -44,7 +44,7 @@ class IssueSprintsController < ApplicationController @issue.fixed_version_id = @issue.user_story.version_id if @issue.save status = done_ratio_to_status(@issue) - attach_files(@issue, params[:attachments]) + Attachment.attach_files(@issue, params[:attachments]) call_hook(:controller_issues_new_after_save, { :params => params, :issu @issue_statuses = IssueStatus.find(:all)
Yes, I am using Redmine 1.0.x. I see that the change you mentioned is already at line 49 Would you mind sharing your set of codes instead?
Hi,
Does anyone know if this issue has been fixed or is being worked on?
Thanks
v0.1.5: Dashboard does not refresh after Add Task to see newly created task. In previous version 0.1.4 the dashboard refreshes automatically after a Task was added.
Good job. Keep it up.