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
Status code as argument for responses in REST requests

defect

major
#29223
Commands configured directly in the dialog cannot be granted permissions.
#29269
Kafka: Error when handling null messages
#29272
Import in help editor does not work
#29325
Generated JSON schema marks a non-nullable layout-template property (dialog title) as nullable/optional
#29338
CreateTLSingletonProcessor creates duplicate annotations
#29373
Buttons Do Not Respond to Programmatic DOM Clicks (UI Test Automation with Playwright)
minor
#28685
Authorization Issues in Model-Based Search
#29009
Selection in tree invisible if "Expand on selection" is not selected
#29322
Configuration Command Undo vs List of changes
#29330
TreeTableComponent / TreeComponent loses state on invalidate
#29331
Zoom level to be retained
#29339
Failed migration in #28305
#29340
TL Script: Optimizing database queries with transient objects fails
#29367
Error in the TL Script Compiler when parsing HTML literals as the first expression in a block
#29371
Values of macro attributes are not displayed
#29372
Flowchart: Problems with a compact tree layout and overlapping elements in combination with a zigzag display
#29379
Script Recorder: Details Can No Longer Be Edited After Moving a Selected Action
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
  • DE
  • Login