Project

General

Profile

Actions

Defect #9708

closed

Adding relation to the issue sometimes does not work

Added by Mike Dubman almost 13 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Cant reproduce
Affected version:

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'

Actions

Also available in: Atom PDF