issue-77 #105
@ -27,9 +27,10 @@ public class TaskSeriesService {
|
|||||||
return ServiceExitCode.INVALID_PARAMETER;
|
return ServiceExitCode.INVALID_PARAMETER;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
rootTask.setTaskName(rootTask.getTaskName().replace("${i}", convertIndexToString(1)));
|
||||||
LocalDate currentTaskDate = rootTask.getStartDate().plusDays(taskRepeatInfo.getOffset());
|
LocalDate currentTaskDate = rootTask.getStartDate().plusDays(taskRepeatInfo.getOffset());
|
||||||
TaskSerie taskSerie = new TaskSerie();
|
TaskSerie taskSerie = new TaskSerie();
|
||||||
int index = 1;
|
int index = 2;
|
||||||
while(currentTaskDate.isBefore(taskRepeatInfo.getEndingDate())) {
|
while(currentTaskDate.isBefore(taskRepeatInfo.getEndingDate())) {
|
||||||
Task task = Task.cloneTask(rootTask);
|
Task task = Task.cloneTask(rootTask);
|
||||||
task.setStartDate(currentTaskDate);
|
task.setStartDate(currentTaskDate);
|
||||||
|
Loading…
Reference in New Issue
Block a user