AMT Release Notes

AMT 94

Released: 15 Oct 2021.
For availability, please contact the Avanade Service Portal for information on downloading new releases.

Special attention items:

There are no special attention items for this release.

Product Cat Subcat Description Type Version Priority
AMT LION Developer Code Logic 328972, 329595

Previously, in order to manipulate the properties of objects in a list, each item had to be stored in a separate variable.

It is now possible to access the members of the class instances inside the list directly by using the index number of the list element in brackets.

Example:
    bikelist[1].bkcolor := 'Blue Metallic'
    SME(bikelist[1].make + ' - '  + bikelist[1].bkcolor)
CHANGE AMT 94 Medium
AMT LION | AMT COBOL Runtime Web Client C2106-056

The Application Center is now using upgraded versions of jQuery (3.1.0) and jQuery UI (1.11.3) leading to better performance and greater security.
NEW AMT 94 Medium
AMT LION Developer Forms C2106-091

When creating a layout design in AMT Developer Studio, it did not show a horizontal scrollbar when one was required.

Scrollbar visibility is now set to automatic for both horizontal and vertical scrollbars in AMT Developer Studio.
FIX AMT 94 Medium
AMT LION Developer Various C2106-104

In the code editor of AMT Developer Studio, when double-clicking on the name of a public routine, the name would not be selected and the type caret would jump to the beginning of the routine. 

Also when double-clicking a call to a method of a global logic object, only the text would be selected instead of jumping to this method in the corresponding object.

Now, when double-clicking the name of a public routine the name would be selected. Also when double-clicking a call to a method of a global logic object, the type caret focus jumps to the method being called in the global logic object.
FIX AMT 94 Medium
AMT LION Developer Code Logic 331088

A Replace command has been added to the AMT Developer Studio that behaves like the String.Replace method in the .NET solution but with an additional option to restrict the replace to only the first occurrence. 

More information on this feature can be found in the online help files (LION Language Reference > Commands > REPLACE > String REPLACE).
NEW AMT 94 Medium
AMT LION Runtime Various 331041

Previously when an installation wasn't completed properly, the AMT Setup for a DB2 database would fail repeatedly.

A new option "SKIPDBREPOSCHECK" has been added to the AMT Setup tool to temporarily skip the database repository check in order to correct the current installation.
FIX AMT 94 Medium
AMT LION Developer Code Logic C2109-021

A new function - ConcatWithSpace - has been added to AMT LION.

ConcatWithSpace concatenates two variables and adds a space in between. 

In addition, the length can be returned, with an optional parameter.

Example: ConcatWithSpace("abc", "123", length)
Result: "abc 123"
Length = 7
NEW AMT 94 Medium
AMT LION AmtTools Prodinstall/Pinstall 330973

When web consumable config files were not present in the production folder, the Prodinstaller failed to detect any difference between the production folder and the source folder.

The Prodinstaller now always shows when a web.config file is not present and gives the option to copy the file.
FIX AMT 94 Medium
AMT LION Developer Various 330012

When using the AMT Developer Studio, an unnecessary draggable splitter was present below the code editor, which created an unwanted blank grey space. 

The grey area now no longer appears in AMT Developer Studio.
FIX AMT 94 Medium
AMT COBOL Control Center Security 331389

When a user with limited permissions attempted to access messages/alerts in the Control Center, the browser would throw a "No Rights for Configuration Architecture" error.

The Control Center was using a web API that required extensive permissions.

A less security-intensive call is now used when checking access to messages and alerts in the Control Center.
FIX AMT 94 Medium
AMT LION Runtime AmtScreens 331357

When button groups with the exact same name were present on different forms, then the shortcuts for one button group would be present for all button groups with that name.

When changing forms, the shortcuts will now properly be reset to the new form.
FIX AMT 94 Medium
AMT LION Runtime Web Client 331403

The documented approach for hiding the title and status bars in amt.css no longer worked.

The property requiring a change previously was AppBodyContent, but now AppBodyContentWrapper needs to be adjusted to hide the title and status bars.

The amt.css file is now properly adjusted for this.
FIX AMT 94 Medium
AMT LION Runtime AmtScreens 331409

The ItemsDisplayed property of a Listbox did not correctly display multiple Listbox items when viewing in AmtScreens.

The ItemsDisplayed property now shows all columns as expected.
FIX AMT 94 Medium
AMT LION | AMT COBOL Generator Various 331395

When a new index is created but not checked in, the AMT Generator would throw a "The number of keys isn’t correct for index [<>.INDEXNAME]” error.

Reading of indexes is now improved so unchecked indexes are excluded from generation.
FIX AMT 94 Medium
AMT LION | AMT COBOL Runtime Various 331250

A dateresult.daynum formatting call with an alpha input field failed when the alpha field was part of a structure and the first 5 characters of the structure were not numeric.

The dateresult variable is now able to read the full string correctly.
FIX AMT 94 Medium
AMT LION Developer Forms C2109-048

When opening a form that contained a memo with an empty initialText property and the Uppercase property set to "True", AMT Developer Studio crashed.

The loading of memo fields has been adjusted to eliminate this issue.
FIX AMT 94 Medium
AMT LION Control Center Various 331275

The Control Center transaction log showed an invalid value in the type column, and when right-clicking a non-functioning context menu was displayed.

Now, the context menu no longer shows and the transaction log displays the correct value.
FIX AMT 94 Medium
AMT LION Runtime AmtScreens 331325

When attempting to close a popup, the popup would sometimes error if the top and left properties contained a 0 value. These 0 values were converted to blank spaces.

The 0 is now converted to "0" and popups work as expected.
FIX AMT 94 Medium
AMT LION | AMT COBOL AmtTools Various 331430

Batch Controller processes were causing a deadlock due to grouping multiple requests.

The processing of job requests is now using a transaction per each request and not grouping all job requests.

Logging was also improved for the following situations:

* To show during the running state of a job which agent is running it;
* When killing a job;
* When killing all processes.
FIX AMT 94 Medium
AMT COBOL Control Center Various 331374

When running a batch job that contained multiple jobs and one of the jobs failed, an error displayed in the Control Center, but the batch job did not halt as expected.

Unused code that resulted in this situation was removed from the AMT Batch Controller, and the batch now halts when an error is encountered.
FIX AMT 94 Medium
AMT LION Control Center Configuration C2109-077

The encrypted strings of the passwords defined for Consumable REST API web services were visible when setting the password column to visible.

The password columns now remain empty as expected.
FIX AMT 94 High
AMT LION Runtime Jobs/Batches 331490

When using a memo field with multiple occurrences in a graphical report and setting the font color for each of the occurrences, the border color was the same as the font color for all except the first occurrence.

The border color now is black for all occurrences.
FIX AMT 94 Medium
AMT LION | AMT COBOL Control Center Various 331468

The 'Amt framework session managament' popup sometimes opened collapsed and the sessions were inaccessible.

The popup is now shown correctly.
FIX AMT 94 Medium
AMT LION Runtime Various 331501

A REST API Consumable call would fail to accept login credentials when the "SendAuthorizationHeader" option was set to true.

The login handling in the Asysco.Amt.RestApi dll has been modified to better handle this option.
FIX AMT 94 Medium