ItEr60S04ValidacionEProbasFuncionaisItEr59S04: [Bug #542] Fix bug.
The parent recalculation was updating the end date. This caused that later thought that the end date was not modified and the grandparent tasks was not recalculated.
This commit is contained in:
parent
b84733139a
commit
1458162d26
1 changed files with 2 additions and 2 deletions
|
|
@ -1026,8 +1026,8 @@ public class GanttDiagramGraph<V, D> {
|
|||
Set<D> incoming = graph.incomingEdgesOf(task);
|
||||
Date previousEndDate = adapter.getEndDateFor(task);
|
||||
boolean startDateChanged = enforceStartDate(task, incoming);
|
||||
boolean endDateChanged = enforceEndDate(task, previousEndDate,
|
||||
incoming);
|
||||
boolean endDateChanged = !parentRecalculation
|
||||
&& enforceEndDate(task, previousEndDate, incoming);
|
||||
return startDateChanged || endDateChanged;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue