minor
minor
If you enter an invalid TLScript expression in the model-based search, you will receive duplicate error messages that mix languages (if the application language is German). This is undesirable.
In general, this problem occurs for every application language except English. When parsing an invalid TLScript expression, a `tl:ParseException` is thrown. The `ParseException` is then handled in `ExprFormat#handleParseException ` and wrapped in a `tl:ConfigurationException`. ConfigurationException is a tl:I18NException, meaning it is internationalizable. The tl:ResKey of the ConfigurationException is parameterized in the resources and is populated with the English-language error message from the ParseException.
As a result, a user with German set as the application language will see an error message on the interface that is a mix of German and English.
Implementation
If the TLScript expression is found to be invalid during parsing, this warning is displayed:
Test
Open the model-based search and enter, for example,
`DemoTypes`.get
in Expert Mode and view the results. The warning message described above should appear.