Defect #9708
closedAdding relation to the issue sometimes does not work
0%
Description
When adding relation of type "Follows Issue: XXX" - nothing happens and error is printed in the log:
Processing IssueRelationsController#new (for 10.220.5.101 at 2011-12-01 12:39:24) [POST]
Parameters: {"commit"=>"Add", "issue_id"=>"4339", "action"=>"new", "authenticity_token"=>"eJF3QmlNOQh/7t2Tdw5wyDFaFqDlTwyqqdf1uKwhObI=", "relation"=>{"delay"=>"", "issue_to_id"=>"4313", "relation_type"=>"follows"}, "id"=>"198", "controller"=>"issue_relations"}
NoMethodError (undefined method `+' for nil:NilClass):
app/models/issue_relation.rb:88:in `set_issue_to_dates'
app/models/issue_relation.rb:82:in `before_save'
app/controllers/issue_relations_controller.rb:27:in `new'
config/initializers/mongrel_cluster_with_rails_211_fix.rb:62:in `dispatch_cgi'
Updated by Etienne Massip almost 13 years ago
- Description updated (diff)
Looking at the call stack and source:/tags/1.2.0/app/models/issue_relation.rb#L88 and source:/tags/1.2.0/app/models/issue.rb#L538, it could be a plugin issue.
Do you have plugins, can you try without them?
Updated by Mischa The Evil almost 13 years ago
- Resolution set to Cant reproduce
I can't reproduce this on a current source:/trunk without plugins.