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

8.0.0-alpha7
TopLogic Release

2026-07-30

enhancement

critical
#29088
Model-based access rights
#29108
Lightweight UI definition layer (TL Views) based on React UI components
major
#28694
Description of model parts as formatted text (rich text)
#28708
Enable Standard Selection in (Tree) Tables and Grids via TL Script
#29102
Add com.top_logic.layout.react module for React/SSE integration
#29221
Automatic determination of possible authorization configurations
#29349
XML Parsing Functions for TL-Script via XMLImporter
#29374
TL Script: gzip()
#29389
Code Completion for Variables ($) in the TL Script Editor
#29396
Conversation display for TL Views: object list element, file chips, card panels
#29399
Info Service Notifications: Display at the bottom instead of the top, and keep them in place when hovering over them with the mouse
#29400
Introduce a first-class "operation mode" service for applications (OperationMode enum + ApplicationModeService)
minor
#29085
Re-login on session timeout instead of redirect to login page
#29089
Extend the TL Script functions log() and info() to include selectable message levels (INFO, WARN, ERROR)
#29195
Problems with HTML attributes and TL script
#29306
TL Script: dateFormat() should accept an explicit timezone to format Calendar values losslessly
#29382
Expose a public, classpath-driven overload of `Workspace.getAppPaths`
#29385
The app archetype should automatically generate a standard git-ignored local-credentials overlay (tl_config) by default
#29392
Transaction Abort on Non-2xx Response
#29398
Login Form: Use "Username" Instead of "Name"

defect

major
#29383
A dead SOCKET_APPENDER (Chainsaw, localhost:4445) in the default logging configuration can cause logging to stall and operations to abort under heavy load
#29384
The TL-Script functions `resetSequence` and `generateSequenceId` generate a different sequence ID than `SequenceDefaultProvider` (in terms of suffix and context order), so they cannot reset a provider-managed sequence with a dynamic context
#29394
Editable tables in the React UI: Generalized row-set bindings for tabular editing in forms
#29410
Attribut filename der Structured-Text-Bildablage case-sensitive (binär) speichern
#29419
Understandable save failures and form validation feedback in the React view layer
minor
#28816
Reference value attributes only generate errors with SingleSelection
#29359
Inappropriate tooltips on some main tabs
#29360
Occasional error message in the log: "mainLayout" is null.
#29361
Invalid database definition for tag
#29363
Missing validation of dialogs in GOTO statements to dialogs of invisible parents
#29380
Context-sensitive auto-numbering fails if the context and the numbered object are created within a single transaction
#29381
Double-clicking in a graphic component does not work reliably
#29390
Subtree selection ends too early if the lowest level is not included in the level filter
#29393
URL routing in the React view layer is broken: ForwardingReactContext does not delegate getRouteManager()
#29401
Images in an image drop zone cannot be copied or saved using the browser's context menu
#29402
Tree selection is lost when the view is refreshed (invalidated)
#29412
Flaky TestDynamicComponentService.testIncrementalUpdates: asserts on asynchronous WatchService event after a fixed 10ms sleep
#29416
Anzeige des Änderungslogs schlägt fehl, wenn parallel Änderungen committet werden
#29420
FlowDiagram: Fehlerfall im row-wise Sub-Grid: subGridCols=2 und subGridStartCol=1
#29426
FlowDiagram: Text in PDF-eingebettetem Diagramm ist nicht selektierbar

task

major
#29407
Security-Scan: npm-Abhängigkeiten der React-Module aktualisieren
#29408
Security-Scan: httpcore5 anheben; pdfbox-/azure-Findings bewerten
minor
#29415
Slim down the repository CLAUDE.md and consolidate developer guidance into skills and FAQ articles
enhancement

major

#29349

XML Parsing Functions for TL-Script via XMLImporter

TLScript

XML Parsing in TL-Script Using `XMLImporter`

The declarative XML import (com.top_logic.xio.importer.XmlImporter) can now be exposed as a TL-Script function. This complements the interactive XMLImportCommand (upload dialog): the same import declaration can be invoked from any TL-Script context (buttons, operations, derived values, …) to parse an XML stream into an object graph.

Defining a parse function

The function is a configured, generic method builder (com.top_logic.xio.importer.expr.ParseXml$Builder). Each registration embeds its own import declaration (a DispatchingImporter, i.e., the same XML you would include in an XMLImportCommand’s import-definition) and assigns a name to the function. Register it as a method of the model-search service, e.g., in an application *.config.xml:

{{{#!xml <config service-class="com.top_logic.model.search.expr.config.SearchBuilder">

<instance>
<methods>
<method name="parseLibrary"
class="com.top_logic.xio.importer.expr.ParseXml$Builder">
<dispatch>
<-- the XML import declaration (tags, objects, properties, linkings) -->
</dispatch>
</method>
</methods>
</instance>

</config> }}}

Because the import declaration is part of the configuration, you typically register one named function per import format.

Calling the function

parseLibrary($data, context: `my.module#ROOT`, transient: false)

Arguments:

  • data (required): the XML input as binary data or a stream (e.g., the value of an upload field). null returns null.
  • context (optional, default none): an object that is made available to the import as its top-level scope (assigned to the implicit `this` variable; top-level object handlers use it as their scope). This eliminates the need to hard-code the import root via an <in-scope expr="…"> handler—the caller provides it at runtime instead.
  • transient (optional, default false): when true, the graph is built from transient objects (post-process it yourself); when false, objects are created persistently in the application model.
  • logCreations (optional, default true): logs each created object to the application log.

The function returns the top-level object produced by the import.

Transactions (persistent import)

When transient is set to false, the function creates persistent objects within the ambient script transaction (exactly like createObject); it does not open or commit a transaction itself. Invoke it from a transactional context—e.g., a TransactionHandlerByExpression or a command handler configured to run in a transaction—so that the changes are committed by the caller.

Typical use: "upload and parse" dialog

To let a user upload a file and run the function, use the standard "script-with-arguments" dialog: a small (transient) input type that declares a binary attribute, opened via the transaction.template, with a TransactionHandlerByExpression whose operation calls the parse function:

form -> model -> parseLibrary(
    $form.get(`my.forms:ImportInput#data`),
    context: `my.module#ROOT`,
    transient: false)

A complete, runnable example is integrated into tl-demo (drag-and-drop library grid): input type tl.demo.forms:ImportXmlInput, the registration in demoImportXmlScript.config.xml, and the dialog importLibraryScriptDialog.layout.xml.

Related change: `XMLImportCommand`

For consistency, XMLImportCommand now also provides its target model as the import context (previously, the target was only available afterward via the post-processing function). Existing importers are unaffected; declarations that relied on a hard-coded <in-scope> continue to work, and may now alternatively rely on the supplied context.

----

Original requirement

XMLImporter provides a declaration language for importing object graphs from XML. A MethodBuilder generates a TL script function based on a configuration. A generic XMLParserMethodBuilder could contain the XML import declaration and generate a script function that, when called, instantiates an XMLImporter from the declaration and parses a passed stream as XML.

  • 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