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

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

#27281

ApplicationTesting: Better error message for non-executable commands

ApplicationTesting

If a test is executed and a command is not executable (a button cannot be pressed), currently only the error message:

Command not executable

is displayed in the error message. Why the command is not executable can only be found out by reading the log message:

2023-04-04T12:18:03,100 ERROR [Thread-5]: com.top_logic.layout.basic.ActivateCommand - CommandModel not executable: com.top_logic.layout.basic.ComponentCommandModel[executability:ExecutableState [executable: false, visibility: DISABLED, reason: 'class.com.top_logic.util.monitor.db.I18NConstants.NO_DATA_COLLECTED'],...

Improvement

The technical reason why the tl:CommandModel cannot be executed in the tl:ButtonControl is still output:

junit.framework.AssertionFailedError: command not executable No monitoring data captured Action: Reset view At file:/home/dbu/Development/workspaces/CWS_2/com.top_logic.demo/target/test-classes/test/com/top_logic/demo/scripted/TestDemo-93_StatementMonitor.xml line 513 column 6 at test.com.top_logic.layout.scripting.runtime.TestedApplicationSession.enhanceThrowable(TestedApplicationSession.java:648) ...

Test

  • RunTestDemo-93_StatementMonitor.xml in the application
  • Execute the penultimate action "Click 'Clear display'."
    • Expectation: the action fails and the error message displays, among other things, "No monitoring data collected".
  • 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