Bugfix
Detail
#28093
Form initialization for read-only fields is ignored
If attribute values are to be pre-assigned in the Create dialog, this can be achieved via the initializations in the dialog configuration.
It may be that read-only fields are also displayed informatively with the expectation that the value shown there is also transferred to the newly created object. This is particularly necessary for mandatory fields if the user cannot/may not edit them themselves.
While the initialization for editable fields (even if no longer changed by the user) works and is transferred to the new object, read-only fields are ignored and you get an error message for mandatory attributes that the value is not set.
Test
- /com.top_logic.demo/src/test/java/test/com/top_logic/demo/scripted/form/TestStorePresetValue.script.xml