ItEr60S04ValidacionEProbasFuncionaisItEr59S04: [Bug #547] Fix bug.
Cascading the save from SchedulingDataForVersion to the TaskSource caused the initial tasks sources to be saved. And later, in the same transaction, are removed as marked by the user. This causes the error. Now only cascades deletions.
This commit is contained in:
parent
c01059d822
commit
3095cd5eff
1 changed files with 1 additions and 1 deletions
|
|
@ -198,7 +198,7 @@
|
|||
</type>
|
||||
</property>
|
||||
<many-to-one name="orderElement" column="ORDER_ELEMENT_ID"></many-to-one>
|
||||
<one-to-one name="taskSource" class="TaskSource" cascade="all" access="field" property-ref="schedulingData" />
|
||||
<one-to-one name="taskSource" class="TaskSource" cascade="delete" access="field" property-ref="schedulingData" />
|
||||
</class>
|
||||
|
||||
<class name="TaskSource">
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue