ItEr57S04ValidacionEProbasFuncionaisItEr56S04: [Bug #430] Fix bug.
The derivedAllocations weren't being updated.
This commit is contained in:
parent
83e3d4a2c2
commit
d172b9dc45
1 changed files with 2 additions and 2 deletions
|
|
@ -715,8 +715,8 @@ public abstract class ResourceAllocation<T extends DayAssignment> extends
|
|||
Collection<DerivedAllocation> derivedAllocations) {
|
||||
// avoiding error: A collection with cascade="all-delete-orphan" was no
|
||||
// longer referenced by the owning entity instance
|
||||
derivedAllocations.clear();
|
||||
derivedAllocations.addAll(derivedAllocations);
|
||||
this.derivedAllocations.clear();
|
||||
this.derivedAllocations.addAll(derivedAllocations);
|
||||
}
|
||||
|
||||
public Set<DerivedAllocation> getDerivedAllocations() {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue