Wichtig
Detail
Detail
#26663
TreeGridComponent: Selektion wird nach Verwerfen einer transienten Zeile nicht zurück gesetzt
#27027
Deklarative Formulare: SelectField verschwindet nach Upload, wenn Optionsliste von mandatory Property abhängig ist
#27090
TreeTableComponent soll initial die erste sichtbare Zeile selektieren, wenn initial eine Zeile selektiert werden soll
Fehlerbehebung
(Nutzer-sichtbar)
Detail
#27170
ClassCastException bei Darstellung eines tl.core:DateTime Attributes in einer Kompositionstabelle
Ist im Zieltyp eines Kompositions-Attributes (containment) ein Attribut Zeitstempel vom Typ tl.core:DateTime ("Datum mit Uhrzeit") enthalten, erzeugt die Darstellung von containment in der Tabelle eine ClassCastException:
Caused by: java.lang.ClassCastException: class com.top_logic.layout.form.model.DateTimeField$DateTime cannot be cast to class java.lang.String (com.top_logic.layout.form.model.DateTimeField$DateTime is in unnamed module of loader 'app'; java.lang.String is in module java.base of loader 'bootstrap') at com.top_logic.layout.form.control.TextInputControl.writeImmutable(TextInputControl.java:428) at com.top_logic.layout.form.control.AbstractFormFieldControl.writeVisible(AbstractFormFieldControl.java:66) at com.top_logic.layout.form.control.AbstractFormFieldControl.doInternalWrite(AbstractFormFieldControl.java:53) at com.top_logic.layout.form.control.AbstractFormFieldControlBase.internalWrite(AbstractFormFieldControlBase.java:249) at com.top_logic.layout.basic.AbstractControlBase$ScopedRenderer.write(AbstractControlBase.java:1042) at com.top_logic.layout.basic.AbstractControlBase$ScopedRenderer.write(AbstractControlBase.java:1) at com.top_logic.layout.basic.AbstractDisplayContext.renderScoped(AbstractDisplayContext.java:118) at com.top_logic.layout.basic.AbstractControlBase.write(AbstractControlBase.java:726)
Test
- Zwei Modellklassen anlegen: "A" und "B".
- In A eine Kompositionsbeziehung "bs" ("A hat Bs") anlegen.
- In B ein Attribut "Zeitstempel" vom Typ "Datum mit Uhrzeit" anlegen.
- Im Layout ein Formular für eine Instanz von "A" anzeigen
- In diesem Formular die zugehörigen Bs als Kompositionstabelle mit der Spalte "Zeitstempel" anzeigen.
- Formular in den Bearbeitungsmodus schalten
- Erwartung: Die Spalte "Zeitstempel" kann im Bearbeitungsmodus der Formulartabelle angezeigt werden.
oder
TestDateTimeAttribute.script.xml