enhancement
critical
major
minor
minor
#25907
Layout editor: inconsistent behavior of unfold state, selection and reaction to object creation
#25951
Application tests: CheckLabeledExecutabilityOp fails to assert non-executability of literal ResKey reasons.
#25952
Model Editor: Enum default provider does not work for enum references for which singleton link storage was explicitly selected
#26002
ConfigurationItem-valued properties with format annotations may cause an attempt to create abstract config items when deserializing null values
#26012
Help editor crashes when a user has chosen a language that is not in the supported languages of the application
#26039
Gridcomponent: Display of context menu for new (transient) row object leads to UnsupportedOperationException
#26085
An attribute of type tl.model.search:Expr is not displayed in the form above a TL script editor
#26111
Context menu commands for table rows are erroneously executed on the table model when opening the context menu in the background of the table
#26153
Migration: Replay fails if string values with line breaks are contained in the dataset where a line ends with a semicolon
#26171
A TL script expression entered in a wizard template is reformatted when transferred to the final template
#26223
TL script: Under unfavorable conditions wrong parameter values when evaluating local functions
defect
If you want to define a default provider for an attribute using tl:DefaultByExpression that makes a transactional change (e.g., creates a new object or generates an ID using nextId()) and “forgets” to hide the attribute in the creation dialog, the expression will also be executed when the form is generated and will fail. In any case, the expression is executed when you try to create a form for the type, because all attributes are always displayed there.
To avoid this error, you must be able to specify that the default calculation may only take place during the creation transaction.
Solution
Additional configuration option “In Transaction,” which allows execution to be delayed until the creation operation.
Test
- Open the form editor for the DemoTypes:A type.
- Verify that the idLong attribute is displayed there (see #26068).