TopLogic - the automated application engine
  • Releases
  • Dokumentation
  • Github
  • Discord
  1. Home
  2. Releases
  3. TL_7.2.0_01
  4. #25092

7.2.0_01
TopLogic Release

2020-09-01

enhancement

major
#24864
Create TLEnumeration in module tree
#25147
Provide layout for model-based search in base
minor
#24403
Rewriter to remove old data from DOStorage during migration
#24948
Upgrade ACE Editor to version 1.4.10
#25096
Comparator for Named
#25103
Change OptionProvider to OptionModel
#25112
Common superclass for TLAnnotation with string value
#25124
Display of the sorting in the list administration
#25129
Configure model filter on ModelService
#25131
Moving various ResourceProviders from element to tl
#25155
Name mapping for Named
#25159
Remove ModelSpec.Null as option for the model
#25170
Clear and uniform display of error messages

defect

major
#25095
Error when configuring views in-app
#25117
Log ERROR because of license in newly installed application
#25118
Invalid component reference in meetingDialog
#25121
New application: BoxLayoutTag$ConfigService module not started
minor
#24851
DefaultFormFieldControlProvider always hard sets the ButtonRenderer
#24870
Attributes tab in Model Editor also visible for modules
#24886
Wrong disabled icon for detail dialog opener in sidebar theme
#24907
Incorrect "matching parentesis" markup in TL script editor
#24908
Double (ugly) error messages german/english in Expert search
#24911
Context help in TL script editor not case-insensitive
#24955
Invisible icons / texts in Dezenzt theme
#25092
I18N In-app development issues
#25093
Usability problems with in-app development
#25114
Form editor does not adapt to the theme?
#25115
Design mode button no longer red after tab addition
#25119
404 Error "favicon.ico"
#25120
Dependency problem in new application
#25128
Errors in the log when starting a new application
#25148
Missing translation "is empty" "is not empty"
#25154
Missing serialization of configuration properties in DisplayStrategy.IGNORE
#25158
Remove own component as option for model source
#25161
Target Label requires MainLayout when loading configuration
#25168
Delete unused FormEditorApplyHandler
#25169
TL script: CCE when comparing integer and double
#25172
Repair surface defects
#25176
Model editor not enabled by default in new app
#25178
Error icon overlaps dialog opener in grids in decent theme
#25187
Forms in dialogs predominantly non-reactive
nice-to-have
#25181
Search icon in decent theme not centered when selected
defect (User-visible)

minor

#25092

I18N In-app development issues

AppEditorsI18NInAppDevelopment

There are a few generic I18N issues with in-app development:

  • When I deselect the tab for workflows in the demo, one of the new options is [none(unknown).title], and a missing I18N error is logged accordingly:

Missing resource '[none(unknown).title]'.
~~The relevant part of the stack trace: ~~

    at com.top_logic.basic.util.DefaultBundle.getString(DefaultBundle.java:220)
    at com.top_logic.mig.html.layout.TabInfo.getLabel(TabInfo.java:114)
    at com.top_logic.layout.component.TabbedLayoutComponentResourceProvider.getLabelNullSafe(TabbedLayoutComponentResourceProvider.java:23)

For this tab, the problem can probably be fixed easily. But it’s an example of a general problem: If a view is configured “incorrectly,” it causes a “Missing resource” error that the customer doesn’t know what to do with. After all, they can’t enter [none(unknown).title] into the properties files. Nor does the error message indicate which view is causing the problem or how it can be fixed. And it’s also unclear exactly what is configured “incorrectly” in the view. Therefore, this generic problem should be fixed first. Fixing the problem for this one view would merely hide the generic issue until a customer stumbles upon it. Therefore, I will not fix it directly in #25048. Since the specific example is in the demo, it shouldn’t affect customers if I don’t fix this one example directly.

  • When a dialog is configured, I see a missing I18N key in the log the next time I log in:

Missing resource [none(unknown).openAsDialog].
Ultimately, the “none(unknown)” comes from here: LayoutComponent.Config.getResPrefix(), because the dialog’s configuration uses getResPrefix() to generate the label for the open button. And “none(unknown)” is the default.

  • In general, “none(unknown)” is problematic for the customer because, in case of doubt, they have no idea where it comes from, and even if they did, there’s nothing they could do about it. And in such cases, I, too, have to debug first to figure out where it’s coming from. To address the latter problem, it would help somewhat if at least the class that generates the NoKey were also logged. It would be even better to reduce the use of ` NoKey ` and `NoPrefix`. For example, if a component doesn’t have a `ResPrefix `, why does it have to return `NoPrefix`? Couldn’t it instead return a prefix for “component without ResPrefix”—such as `DEFAULT_COMPONENT_PREFIX`?
    • Error messages such as “none(unknown) ” have been expanded to include contextual information. If the `tl:ResPrefix` of a component configuration is not set, a `tl:NoPrefix` is now returned instead of the meaningless `tl:ResPrefix.NONE`—with the fully qualified name of the component (if available) or the name of the implementation class as a fallback.
  • When creating a dialog, the default title is "No Content." However, when I open the dialog, the following is displayed instead of an empty dialog title:

[deprecated:3810f414-5858-41fd-bdf5-b48f2dbbcbaa.layout.xml#Dialog.title]|[deprecated:]

  • When I create a new view but don’t enter a name, the title shows [none(unknown).title]. I expected an empty title.
    • Titles for views are now required.

Test

Titles are required when creating views. It should not be possible to create a tab, table, tree, etc., without a title.

  • 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