Repare indecing (duplicate 00): Call RepeatTask with itemIndex 1, as the root task gets itemIndex 0
This commit is contained in:
parent
57be3393c9
commit
dd58ec6520
@ -107,7 +107,7 @@ public class TaskSeriesService {
|
||||
HashMap<Task, Integer> offsetMap = new HashMap<>();
|
||||
offsetMap.put(rootTask, taskRepeatInfo.getOffset());
|
||||
|
||||
var repeatingResult = repeatTask(rootTask, taskRepeatInfo.getEndingDate(), offsetMap, taskSerie, 0);
|
||||
var repeatingResult = repeatTask(rootTask, taskRepeatInfo.getEndingDate(), offsetMap, taskSerie, 1);
|
||||
List<Task> clonedTasks = new ArrayList<>(repeatingResult.getValue00());
|
||||
List<AbstractSchedule> clonedSchedules = new ArrayList<>(repeatingResult.getValue01());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user