Project

General

Profile

Actions

Defect #5473

closed

adding parent when cross project

Added by Burt Culver almost 14 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
Normal
Category:
Issues
Target version:
-
Start date:
2010-05-08
Due date:
% Done:

0%

Estimated time:
Resolution:
Wont fix
Affected version:

Description

Using redmine r:3683 I'm unable to change an issue to have a parent issue that is from a different project with cross_project_issue_relations set to 1. This fixes:

svn diff app/models/issue.rb
Index: app/models/issue.rb ===================================================================
--- app/models/issue.rb (revision 3683)
+++ app/models/issue.rb (working copy)
@ -291,7 +291,7 @ # Checks parent issue assignment
if @parent_issue
if @parent_issue.project_id != project_id
- errors.add :parent_issue_id, :not_same_project
+ errors.add :parent_issue_id, :not_same_project unless Setting.cross_project_issue_relations?
elsif !new_record? # moving an existing issue
if @parent_issue.root_id != root_id


Related issues

Related to Redmine - Feature #5487: Allow subtasks to cross projectsClosedJean-Philippe Lang2010-05-09

Actions
Actions

Also available in: Atom PDF