Defect #17068

When copying subtasks with relations between them self's are lost

Added by Fernando Hartmann over 7 years ago. Updated almost 4 years ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Issues
Target version:-
Resolution: Affected version:2.4.4

Description

Suppose I have a task (Task1) with two subtaks, Sub1 and Sub2 and Sub1 preceeds sub2.
If I copy Task1 with subtask, the relation between the subtask aren't copied to the new ones.

0001-models-issue-copy-subtask-issue-relationships.patch Magnifier - models/issue: copy subtask issue relationships (2.92 KB) Robert Beckett, 2018-04-06 19:33


Related issues

Related to Redmine - Defect #15742: No warning when copying subtasks to another project with ... New

History

#1 Updated by Toshi MARUYAMA over 7 years ago

  • Related to Defect #15742: No warning when copying subtasks to another project with different trackers added

#2 Updated by Robert Beckett almost 4 years ago

I Created a patch against 3.4 stable to implement copying subtask interrelations.
It applies cleanly to master.
I have been unable to test on master yet due to issues with updating rails (dependency problems for actionpack-xml_parser. Ill do this if I ever get time allotted to continue upstream effort, but as I am doing this as part of my (very busy) day job, I doubt that will happen any time soon, so if anyone wants to take this patch and test it on master, I would be grateful.

This patch is currently working fine on our live 3.4 server.

Also available in: Atom PDF