Actions
Defect #15430
closed
NoMethodError on ticket creation
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Cant reproduce
Affected version:
Description
When submitting a ticket the following error occurs in the production.log file:
Started POST "/projects/management/issues" for 79.211.51.123 at 2013-11-21 14:59:37 +0100
Processing by IssuesController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"xxx", "issue"=>{"is_private"=>"0", "tracker_id"=>"4", "subject"=>"test", "description"=>"test", "status_id"=>"1", "priority_id"=>"2", "assigned_to_id"=>"12", "parent_issue_id"=>"", "start_date"=>"2013-11-21", "due_date"=>"2013-11-21", "estimated_hours"=>"", "done_ratio"=>"0", "watcher_user_ids"=>["12"]}, "new_checklist"=>"", "commit"=>"Anlegen", "project_id"=>"management"}
Current user: axel (id=14)
Rendered mailer/_issue.text.erb (1.8ms)
Rendered mailer/issue_add.text.erb within layouts/mailer (2.5ms)
Rendered mailer/_issue.html.erb (1.9ms)
Rendered mailer/issue_add.html.erb within layouts/mailer (2.3ms)
Completed 500 Internal Server Error in 178.7ms
NoMethodError (undefined method `size' for false:FalseClass):
app/models/issue.rb:163:in `create_or_update'
app/controllers/issues_controller.rb:146:in `create'
- Redmine version: 2.4.0.stable.12295
- Ruby version: 1.9.3-p0 (2011-10-30) [x86_64-linux]
- Rails version: 3.2.15
Actions