Bugfix
Detail
#27649
Default values for attributes of transient objects are not taken into account
Problem
If a transient object instance is constructed, the attributes with default value annotations are not initialized:
A class A defines an attribute "date" of type "date" with the annotation "Calculated default value: now()".
new(`A`, transient:true);
No value is set for the attribute in the generated object.
Test
- /com.top_logic.demo/src/test/java/test/com/top_logic/demo/scripted/model/TestTransientDefaults.script.xml