ItEr49S10CUVisualizacionResponsabilidadesTRaballoNaPlanificacionItEr48S10: Loading unsatisfied allocations too at allocation form
This commit is contained in:
parent
11592da751
commit
8db14ca407
2 changed files with 2 additions and 2 deletions
|
|
@ -248,7 +248,7 @@ public class ResourceAllocationModel implements IResourceAllocationModel {
|
|||
loadResources(this.task.getSatisfiedResourceAllocations());
|
||||
loadDerivedAllocations(this.task.getSatisfiedResourceAllocations());
|
||||
List<AllocationRow> initialRows = AllocationRow.toRows(this.task
|
||||
.getSatisfiedResourceAllocations());
|
||||
.getAllResourceAllocations());
|
||||
allocationRowsHandler = AllocationRowsHandler.create(task, initialRows,
|
||||
createWorkerFinder());
|
||||
return allocationRowsHandler;
|
||||
|
|
|
|||
|
|
@ -860,7 +860,7 @@ public abstract class OrderPlanningModel implements IOrderPlanningModel {
|
|||
private static void forceLoadOfResourceAllocationsResources(
|
||||
TaskElement taskElement) {
|
||||
Set<ResourceAllocation<?>> resourceAllocations = taskElement
|
||||
.getSatisfiedResourceAllocations();
|
||||
.getAllResourceAllocations();
|
||||
for (ResourceAllocation<?> each : resourceAllocations) {
|
||||
each.getAssociatedResources();
|
||||
for (DerivedAllocation eachDerived : each.getDerivedAllocations()) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue