Project

General

Profile

Actions

Defect #22774

closed

"Parent task is invalid" message when setting parent to root issue after setting to a child of the root.

Added by Brandon Legault over 8 years ago. Updated almost 8 years ago.

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

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

Hopefully the title makes sense.

Repro steps:
  1. Create Issue 1
  2. Create Issue 2 and assign 1 as parent
  3. Create Issue 3 and assign 1 as parent
  4. Navigate to issue 3 and assign 2 as parent
  5. Navigate to issue 3 and re-assign 1 as parent

Step 5 will display "Parent Task is invalid".

Workaround:
5. Navigate to issue 3 and remove any parenting
6. Navigate to issue 3 and re-assign 1 as the parent

Seems the issue can't be assigned to its parent because it would create a conflict reassigning the lft and rgt fields of the 3 issues involved.

Environment:
  Redmine version                3.0.1.stable
  Ruby version                   2.0.0-p598 (2014-11-13) [x86_64-linux]
  Rails version                  4.2.0
  Environment                    production
  Database adapter               Mysql2
SCM:
  Subversion                     1.8.10
  Git                            1.9.5
  Filesystem                    

Related issues

Is duplicate of Redmine - Defect #13654: Can't set parent issue when issue relations among child issues are presentClosedJean-Philippe Lang

Actions
Actions #1

Updated by Toshi MARUYAMA over 8 years ago

  • Category set to Issues
  • Priority changed from Normal to Low
  • Affected version set to 3.2.1
Actions #2

Updated by Toshi MARUYAMA over 8 years ago

  • Status changed from New to Confirmed
Actions #3

Updated by Go MAEDA almost 8 years ago

  • Status changed from Confirmed to Closed
  • Resolution set to Fixed

The operation can be done without problems in Redmine 3.3.1.devel.16055.
Probably it was fixed by #13654 (Redmine 3.3.0).

Actions #4

Updated by Go MAEDA almost 8 years ago

  • Is duplicate of Defect #13654: Can't set parent issue when issue relations among child issues are present added
Actions

Also available in: Atom PDF