Project

General

Profile

related issue is not created

Added by kyoungmin lee over 8 years ago

redmine version: 3.1.1

when I create related issue, the message of 'related issue is not valid' shows up.
please help me to solve this problem.

production log include followings.

Started POST "/redmine/issues/9/relations" for 172.16.0.1 at 2015-12-01 14:02:31 +0900
Processing by IssueRelationsController#create as JS
Parameters: {"utf8"=>"✓", "relation"=>{"relation_type"=>"relates", "issue_to_id"=>"9", "delay"=>""}, "commit"=>"추가", "issue_id"=>"9"}
Current user: baeot (id=1)
WARNING: Can't mass-assign protected attributes for IssueRelation: issue_to_id
app/models/issue_relation.rb:89:in `initialize'
app/controllers/issue_relations_controller.rb:43:in `create'
lib/redmine/sudo_mode.rb:63:in `sudo_mode'
Rendered issue_relations/_form.html.erb (2.1ms)
Rendered issues/_relations.html.erb (3.2ms)
Rendered issue_relations/create.js.erb (3.7ms)
Completed 200 OK in 38ms (Views: 4.6ms | ActiveRecord: 5.2ms)