TopLogic - the automated application engine
  • Releases
  • Dokumentation
  • Github
  • Discord
  1. Home
  2. Releases
  3. TL_7.6.0-M1
  4. #27267

7.6.0-M1
TopLogic Release

2023-04-27

Enhancement

Major
#26283
In-app configured global dialogs
#27261
discontinuation: project-*, tl-perf, tl-export, tl-sync-demo-*, vw-pmt, tl-themes-glossy
Detail
#27264
Selection components should not unpack one-element sets
#27267
ListModelBuilder shall return a collection in getModel(...).
#27281
ApplicationTesting: Better error message for non-executable commands

Bugfix

Major
#27297
Error initializing the database on PostgreSQL and Oracle
Detail
#27256
MEInstanceTableModelBuilder.supportsListElement throws NPE if wrapper.tType() == null
#27286
File filter in upload dialog allows upload of other files
#27288
Missing documentation with incomplete workspace
Enhancement

Detail

#27267

ListModelBuilder shall return a collection in getModel(...).

Code migrationModelBuilder

The tl:ListModelBuilder is a tl:ModelBuilder used for components that represent a set of objects (tl:TableComponent, tl:GridComponent, ...).

The method

Object getModel(Object businessModel, LayoutComponent aComponent);

in the ModelBuilder is to be called in the ListModelBuilder on

Collection<?> getModel(Object businessModel, LayoutComponent aComponent);

should be changed.

Code migration

  • In tl:ListModelBuilder, the return type of getModel(Object, LayoutComponent) needs to be changed from Object to Collection<?> (or something more concrete).
  • In tl:TableComponent, ListModelBuilders must now be configured. If a tl:ModelBuilder is configured that is not a ListModelBuilder, the login will fail with a ClassCastException.

Test

Refactoring. No additional test.

  • 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