ItEr59S04ValidacionEProbasFuncionaisItEr58S04: [Bug #480]. Fixed bug, if consolidated date is equals to task end date it is needed to reallocate tasks after the supposed end date.

This commit is contained in:
Manuel Rego Casasnovas 2010-06-07 13:09:21 +02:00 committed by Javier Moran Rua
parent 515e9e889f
commit 988bdc55bb

View file

@ -234,7 +234,7 @@ public class AdvanceConsolidationModel implements IAdvanceConsolidationModel {
resourceAllocation
.setOnDayAssignmentRemoval(new DetachDayAssignmentOnRemoval());
if (value.getDate().compareTo(endExclusive) > 0) {
if (value.getDate().compareTo(endExclusive.minusDays(1)) >= 0) {
LocalDate date = ResourceAllocation.allocating(
Arrays.asList(resourceAllocation
.asResourcesPerDayModification()))