Assign cloned schedule to cloned task and not to root task
This commit is contained in:
parent
dd58ec6520
commit
952dddff2e
@ -75,6 +75,8 @@ public class Task {
|
|||||||
clonedSchedules.add(clonedSchedule);
|
clonedSchedules.add(clonedSchedule);
|
||||||
clonedTask.getBasicTaskSchedules().clear();
|
clonedTask.getBasicTaskSchedules().clear();
|
||||||
clonedTask.getBasicTaskSchedules().add(clonedSchedule);
|
clonedTask.getBasicTaskSchedules().add(clonedSchedule);
|
||||||
|
|
||||||
|
clonedSchedule.setTask(clonedTask);
|
||||||
}
|
}
|
||||||
|
|
||||||
Set<Task> clonedSubtasks = new HashSet<>();
|
Set<Task> clonedSubtasks = new HashSet<>();
|
||||||
|
Loading…
Reference in New Issue
Block a user