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 #1

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?

Actions #2

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.

Actions #3

Updated by Go MAEDA almost 6 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF