[Bug #1322] Fix bug

The derived day assignments were not being included. This caused that
the resources associated with the derived allocation to have different
instances for the derived allocations, causing a subsequent error.

FEA: ItEr76S04BugFixing
This commit is contained in:
Óscar González Fernández 2012-01-03 22:14:19 +01:00 committed by Manuel Rego Casasnovas
parent 825bae5f2b
commit d973c323cb

View file

@ -261,7 +261,7 @@ public class PlanningStateCreator {
if (rootTask != null) {
forceLoadOf(rootTask);
forceLoadDayAssignments(orderReloaded
.getResources(FilterType.WITHOUT_DERIVED));
.getResources(FilterType.KEEP_ALL));
forceLoadOfDepedenciesCollections(rootTask);
forceLoadOfLabels(Arrays.asList((TaskElement) rootTask));
}