Enhancement
Major
Detail
Detail
If you define a calculated default value for an attribute in a technical object type and create several technical objects of this type as a reference (composition) in another object, all values are changed to the last calculated default value or the last changed value when saving.
Example: CWS_28002 -> TL demo -> Technical demo -> Tests -> Calculated default value in reference -> Create new line
**Addendum** After the analysis, it was found that when the object is saved, the calculated default value is recalculated and does not automatically assume the displayed value (in the attached images you can see that the value is 0 before saving and 1 after saving).
Test
After the change, the displayed value should not change after saving.
Manual:\\ TL-Demo -> Technical Demo -> Tests -> Calculated default value in reference -> Create new line and save
Test script:\\ /com.top_logic.demo/src/test/java/test/com/top_logic/demo/scripted/form/TestReferredObjectWithComputedDefaultValue.script.xml