TopLogic - the automated application engine
  • Releases
  • Dokumentation
  • Github
  • Discord
  1. Home
  2. Releases
  3. TL_7.8.1
  4. #28004

7.8.1
TopLogic Release

2024-06-24

Enhancement

Major
#27963
TL-Script: Access to the label of a specialized object in a given language
#27998
TL script function for filtering according to authorizations
#27999
Save composition references in different tables
#28049
OpenAPI interface in the user context
#28079
Preload for ForeignKeyStorage
Detail
#28005
Add model meta properties
#28012
TL script: Query whether object is transient
#28014
Improved number and image display on tiles and text alignment
#28017
Core theme: Reducing the spacing and adjusting the width of subtitles in forms
#28018
Improved display of dropdown buttons
#28036
Migration processors for model mapping
#28041
Extension of the TL icon font
#28051
Fast identifier allocation for high demand
#28057
KBCache for accesses and roles "by name"
#28058
Configurable copyright header in generated wrapper classes
#28061
Value conversion when setting values in transient objects
#28063
Define database column for HTML attributes
#28074
Cache application values of primitive types in the persistence layer
#28080
TL-Script: Deep Copy in batch mode with preload
Nice to have
#27867
Core-Theme: Script-Recorder Icons
#28050
Extract TL-Sync into own project
#28089
Rendering safety: Catching errors when rendering template variables

Bugfix

Major
#27750
Missing save request when closing dialog
#28035
Core theme: "comfort/compact" theme reduces the size of all charts
Detail
#27839
Duplicate tooltips on sidebar buttons
#27959
Updates of icons in form headers defective
#27996
Delete does not appear in the context menu of multi-selection components
#28002
Unchanged calculated default value is overwritten when saving
#28003
Application crashes, if some themes or some layouts have errors
#28004
Error when saving new classifiers in a TLEnum
#28011
Incorrect classification of association endings in compositions
#28013
Script Recorder: Saving scripts does not show the file name field
#28015
Core theme: The compact version is usually selected as the default
#28021
Buttons in the declarative form are not at the same height
#28024
Session IDs only in hashed form in the log and monitor
#28027
Calculated attributes are not evaluated in transient objects
#28028
Order of calculated columns is not taken into account in the standard columns
#28030
No replay for version upgrade from TL-6 to TL-7.8
#28048
Sequence of migration instructions is incorrect
#28062
A module always loads all its types unnecessarily
#28075
Missing "abstract" property for TLProperty's
Nice to have
#28006
Addition of missing @TemplateType annotations for ThemeVar variables
#28043
Error in SQL migration utility
#28072
Migration for #27517 (User Management) crashes with inconsistencies
#28090
IDEFileSystemCache logs errors with fast creation and subsequent deletion
Bugfix

Detail

#28004

Error when saving new classifiers in a TLEnum

ModelEditor

If you delete Classifer from an enum and insert it again - depending on where you insert it you get different error messages, e.g:

com.top_logic.knowledge.service.KnowledgeBaseException: Database operation failed. at com.top_logic.knowledge.service.db2.DefaultDBContext.commitTransaction(DefaultDBContext.java:861) at com.top_logic.knowledge.service.db2.TransactionImpl.internalCommit(TransactionImpl.java:164) at com.top_logic.knowledge.service.AbstractTransaction.commit(AbstractTransaction.java:73) at com.top_logic.layout.form.declarative.DeclarativeApplyHandler.doTransaction(DeclarativeApplyHandler.java:111) ... 35 more Caused by: java.sql.SQLException: Unique index or primary key violation: "PUBLIC.FAST_LIST_ELT_FAST_LIST_ELT_OWNER_ORDER_IDX ON PUBLIC.FAST_LIST_ELT(BRANCH NULLS FIRST, OWNER_ID NULLS FIRST, SORT_ORDER NULLS FIRST, REV_MAX NULLS FIRST) VALUES ( /* key:80 */ CAST(1 AS BIGINT), CAST(8064 AS BIGINT), 5, 9223372036854775807)"; SQL statement:
INSERT INTO "FAST_LIST_ELT" ("BRANCH", "IDENTIFIER", "REV_MAX", "REV_MIN", "REV_CREATE", "PHYSICAL_RESOURCE", "ANNOTATIONS", "OWNER_ID", "NAME", "SORT_ORDER", "DESCR", "FLAGS") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [23505-224]: INSERT INTO "FAST_LIST_ELT" ("BRANCH", "IDENTIFIER", "REV_MAX", "REV_MIN", "REV_CREATE", "PHYSICAL_RESOURCE", "ANNOTATIONS", "OWNER_ID", "NAME", "SORT_ORDER", "DESCR", "FLAGS") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) at com.top_logic.basic.sql.SQLH.enhanceMessage(SQLH.java:594) at com.top_logic.basic.db.sql.PrepStmtBasedCompiledStatement.enhanceMessage(PrepStmtBasedCompiledStatement.java:144) at com.top_logic.basic.db.sql.PrepStmtBasedCompiledStatement$1.executeBatch(PrepStmtBasedCompiledStatement.java:131) at com.top_logic.knowledge.service.db2.DefaultDBAccess.executeInsertBatch(DefaultDBAccess.java:403) at com.top_logic.knowledge.service.db2.DefaultDBAccess.insertAll(DefaultDBAccess.java:371) at com.top_logic.knowledge.service.db2.VersionedDBAccess.storeAll(VersionedDBAccess.java:505) at com.top_logic.knowledge.service.db2.VersionedDBAccess.insertAll(VersionedDBAccess.java:489) at com.top_logic.knowledge.service.db2.DefaultDBContext.commitNew(DefaultDBContext.java:537) at com.top_logic.knowledge.service.db2.DefaultDBContext.commitTransaction(DefaultDBContext.java:790) ... 38 more Caused by: org.h2.jdbc.JdbcBatchUpdateException: Unique index or primary key violation: "PUBLIC.FAST_LIST_ELT_FAST_LIST_ELT_OWNER_ORDER_IDX ON PUBLIC.FAST_LIST_ELT(BRANCH NULLS FIRST, OWNER_ID NULLS FIRST, SORT_ORDER NULLS FIRST, REV_MAX NULLS FIRST) VALUES ( /* key:80 */ CAST(1 AS BIGINT), CAST(8064 AS BIGINT), 5, 9223372036854775807)"; SQL statement:
INSERT INTO "FAST_LIST_ELT" ("BRANCH", "IDENTIFIER", "REV_MAX", "REV_MIN", "REV_CREATE", "PHYSICAL_RESOURCE", "ANNOTATIONS", "OWNER_ID", "NAME", "SORT_ORDER", "DESCR", "FLAGS") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [23505-224] at org.h2.jdbc.JdbcPreparedStatement.executeBatch(JdbcPreparedStatement.java:1282) at com.top_logic.basic.db.sql.AbstractStatementBatch.executeBatch(AbstractStatementBatch.java:46) at com.top_logic.basic.db.sql.PrepStmtBasedCompiledStatement$1.executeBatch(PrepStmtBasedCompiledStatement.java:129) ... 44 more

Test

  • /com.top_logic.demo/src/test/java/test/com/top_logic/demo/scripted/model/TestEnumEdit.script.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