ItEr39S05ValidacionEProbasFuncionaisItEr38S05: [Bug #183] Fixing bug.

When the type was calculated from children, it was not being assigned to persistent property. This caused calculateSynchronizationsNeeded to not create the tasks.
This commit is contained in:
Óscar González Fernández 2009-12-16 22:58:50 +01:00
parent 0a5e22bbaf
commit 7a874a36d4

View file

@ -103,6 +103,7 @@ public abstract class OrderElement extends BaseEntity {
SchedulingState result = childrenStates.isEmpty() ? new SchedulingState(
getSchedulingStateType())
: new SchedulingState(schedulingStateType, childrenStates);
schedulingStateType = result.getType();
result.addTypeChangeListener(new ITypeChangedListener() {
@Override
public void typeChanged(Type newType) {