ItEr46S07ImplantacionAplicacionItEr45S07: Fixed lazy exception related with labels when editing an order.
This commit is contained in:
parent
e14473a168
commit
269c4b5f12
1 changed files with 8 additions and 0 deletions
|
|
@ -253,6 +253,14 @@ public class OrderModel implements IOrderModel {
|
|||
forceLoadCriterionRequirements(this.order);
|
||||
forceLoadCalendar(this.getCalendar());
|
||||
forceLoadCustomer(this.order.getCustomer());
|
||||
forceLoadLabels(this.order);
|
||||
}
|
||||
|
||||
private void forceLoadLabels(OrderElement orderElement) {
|
||||
orderElement.getLabels().size();
|
||||
for (OrderElement each : orderElement.getChildren()) {
|
||||
forceLoadLabels(each);
|
||||
}
|
||||
}
|
||||
|
||||
private void forceLoadCustomer(ExternalCompany customer) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue