TopLogic - the automated application engine
  • Releases
  • Dokumentation
  • Github
  • Discord
  1. Home
  2. Releases
  3. TL_8.0.0-alpha6
  4. #29325

8.0.0-alpha6
TopLogic Release

2026-07-14

enhancement

minor
#29334
Statuscode als Argument bei Antworten in REST-Anfragen

defect

major
#29223
Kommandos die direkt am Dialog konfiguriert sind können nicht berechtigt werden
#29269
Kafka: Fehler beim Handling von Null-Messages
#29272
Import im Hilfe-Editor funktioniert nicht
#29325
Generated JSON schema marks a non-nullable layout-template property (dialog title) as nullable/optional
#29338
CreateTLSingletonProcessor legt doppelte Annotation an
#29373
Buttons reagieren nicht auf programmatische DOM-Klicks (UI-Testautomatisierung mit Playwright)
minor
#28685
Berechtigungsprobleme in der modellbasierten Suche
#29009
Selektion in Baum unsichtbar wenn nicht "Expandieren bei Selektion" gewählt
#29322
Konfiguration Kommando Undo vs Liste der Änderungen
#29330
TreeTableComponent / TreeComponent verliert Zustand bei invalidate
#29331
Zoom-Stufe soll beibehalten werden
#29339
Fehlerhafte Migration in #28305
#29340
TL-Script: Optimierung von Datenbankabfragen mit transienten Objekte schlägt fehl
#29367
Fehler im TL-Script Compiler beim Parsen von HTML-Literalen als erster Ausdruck in einem Block
#29371
Werte von Macro-Attributen werden nicht dargestellt
#29372
Flow-Diagram: Probleme bei kompaktem Tree-Layout und Überlappung in Kombination mit Zig-Zag-Darstellung
#29379
Script-Recorder: Details nach Verschieben von selektierter Aktion nicht mehr bearbeitbar
defect

major

#29325

Generated JSON schema marks a non-nullable layout-template property (dialog title) as nullable/optional

Configuration

Observed while building layout-template arguments from the generated JSON schema (toplogic://schema/layout-template/{name}).

Symptom

For the template com.top_logic/dialog.template.xml, the title property is declared non-nullable with an item-default:

<property name="title" type="PolymorphicConfiguration">
    <item-default/>
    <non-nullable/>
</property>

but the generated JSON schema presents it as nullable/optional:

"title": {
    "title": "Title provider",
    "anyOf": [
        { "type": "null" },
        { "$ref": "toplogic://schema/config/com.top_logic.layout.component.title.TitleProvider" }
    ]
}

Because the schema offers {"type": "null"}, a schema-driven client (here: an AI agent authoring the arguments) reads title as optional and omits it.

Consequence

When title is omitted, the non-nullable item-default resolves to a ConstantTitle$Config whose getTitle() is @Mandatory and unset. The resulting component cannot be instantiated:

Property 'com.top_logic.layout.component.title.ConstantTitle$Config.getTitle()': Property is mandatory but not set.

This error is only logged (caught in DatabaseLayoutCacheEntry.put(...), "Cannot parse layout '...'") and the layout silently fails to build — it is not surfaced to the caller.

Expected

The generated schema should reflect the contract:

  • A <non-nullable/> property should not include {"type": "null"} in its anyOf (it is not optional).
  • For a non-nullable item-default whose concrete default config has @Mandatory nested properties (e.g. ConstantTitle.getTitle()), the schema should surface those nested properties as required, so a client can supply a complete value rather than producing an un-instantiable default.

Notes

  • Reproduced against engine 8.0.0-alpha3 via the layout-template config-schema endpoint.
  • The same shape likely affects any layout-template property declared non-nullable with an item-default that carries mandatory nested fields.
  • Manifested in the tl-ai agentic layout editor, where the agent omitted title and produced an un-instantiable dialog; once the error was reported back (build-time validation with an own protocol), the agent supplied a correct ConstantTitle value.
  • Get Started
  • Github
  • Discord
  • Das Unternehmen hinter TopLogic
  • Softwareentwicklung heute
  • Kontakt

© Copyright – Business Operation Systems GmbH

  • top-logic.com
  • Nutzungsbedingungen
  • Impressum
  • Rechtlicher Hinweis
  • Datenschutz
  • EN
  • Login