AMT Release Notes

AMT 87

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

Special attention items:

AMT 87

Product Cat Subcat Description Type Version Priority
AMT LION Runtime AmtScreens 320407 / 330727 / C2002-019

Sendtotabsheet, used to display custom text on a new tab, was not yet functional in AMT Screens.

Sendtotabsheet has now been implemented for AMT Screens. The Web Client version will be implemented in the next release.
NEW AMT 87 Medium
AMT LION Runtime AmtScreens C2012-024

Session data in online forms was not cached between transactions.

Session data and global definitions are now cached again between transactions.
FIX AMT 87 Medium
AMT LION Runtime Web Client 330279 / C2101-086

If a caption was used on a Groupbox, all subcontrols within the Groupbox were located lower than in a Groupbox without a caption.

This issue has been solved, the location within a Groupbox with a caption is now the same as within a Groupbox without a caption.
FIX AMT 87 Medium
AMT LION Runtime AmtScreens 330336 / C2102-082

Turning of the horizontal scrollbars option in the form settings did not disable the scrollbars.

Horizontal scrollbars are now disabled if the horizontal scrollbar setting on the form is turned off.
FIX AMT 87 Medium
AMT LION Runtime AmtScreens 329256 / C2102-098

Saving an uploaded file caused an exception if '\' was used after lion.var-param.filepath. As AMT added its own backslash, the path-string ended up with a double backslash.

Any double backslash in the filename's path is converted into a single backslash now.
FIX AMT 87 Medium
AMT LION Runtime AmtScreens 327760 / C2102-115

In the print preview of AMT Screens, the right-click menu options did not contain the options Copy and Select All.

These options have been added to the right-click menu.
FIX AMT 87 Medium
AMT LION Runtime AmtScreens 330076 / C2102-119

If condition <>'' (no entry for a record) was used, AMT Screens disregarded the condition and showed all records.

AMT Screens now applies this condition and shows the filtered records.
FIX AMT 87 Medium
AMT LION Control Center Various 330251 / C2102-120

If a user had only RTQuery INQ rights in the AMT Control Center, AMT Screens threw an exception if RTQuery was selected, and the Add and Edit buttons were still enabled.

The exception has been resolved by updating security components, the Add button has been disabled, and the Edit button has been changed into a View Record button.
FIX AMT 87 High
AMT LION Runtime AmtScreens 330267 / C2102-121

Pressing 'next' or 'previous' when adding a record in an empty table raised an error. Also, deleting a record and then pressing 'back' and 'next' still showed the deleted record, as the popup was not closed.

If there is no previous or next record, the buttons are now disabled, and deleting a record closes the pop-up when a record is deleted from the table.
FIX AMT 87 Medium
AMT LION | AMT COBOL Runtime Web Client 330505 / C2104-009

Values did not get copied from Editbox to Label, because of a bug in a JavaScript regex bug, which cleared the value instead of removing a period.

The regex now functions as required.
FIX AMT 87 Medium
AMT LION Runtime Various C2104-035

The creation of charts in screen and print layouts in AMT LION depended on deprecated .NET features.

Charts are now rendered using OxyPlot, an open source library supported in .NET Core.

Important note: charts will not look identical to the way they looked before this change. Customers should make sure to check their charts when they upgrade to AMT 87.
CHANGE AMT 87 High
AMT LION | AMT COBOL Control Center Various C1204-062

The current implementation for previewing Prn files was using an outdated PDF creator.

The new implementation uses a new creator, which is more robust.
CHANGE AMT 87 Medium
AMT LION | AMT COBOL Runtime Jobs/Batches 330187 / C2104-065

AMT Batch Controller Agents were consuming a lot of memory.

Memory management has been improved and most, if not all, of the memory is released again after a report/program has run, by setting buffers to null and forcing the Garbage Collector to collect at the end.
FIX AMT 87 Medium
AMT LION Runtime Jobs/Batches 330668 / C2104-067

Tablequery or Cursorquery retrieved wrong data if a Tablequery/Cursorquery field (of the same Tablequery/Cursorquery) was specified on the right-hand side of a compare operator in the query's Where specification.

The Generator has been fixed to ensure that the Where clause in the query string is now generated correctly.
FIX AMT 87 High
AMT LION Runtime Various 330586 / C2104-091

Consumable Web Services: an error occurred if the maximum message size quota for incoming messages (65536) was exceeded.

The maxBufferSize, maxBufferPoolSize and maxReceivedMessageSize settings are now read from the Web.Config and applied, although Web.Config is no longer used in .NET Core environments.
FIX AMT 87 Medium
AMT LION Runtime AmtScreens 330720 / C2104-092

If Insert was pressed in AMT Screens to go to overtype mode, EditBoxes with type String got a MaxLength of 1 instead of unlimited, as they got in insert mode.

MaxLength in overtype mode has now been changed to 0/unlimited.
FIX AMT 87 Medium
AMT LION | AMT COBOL AmtTools Reo 330739 / C2104-094

AMT Reorganize Service: the online command for multiple-databases-reorganization led to the reorganization of a different database than was analyzed initially, because the first one in the list was used in all cases.

With this fix, command line AMT Reorganization keeps track of the database it's handling and always executes a reorganization of the same database it analyzed.
FIX AMT 87 High
AMT LION | AMT COBOL Control Center Various C2104-101

The paths to the error and warning icons on the Batch Control page in the AMT Control Center were incorrect, causing the icons not to show up.

The paths have been corrected.
FIX AMT 87 Low
AMT LION | AMT COBOL AmtTools Various 330552 / 330634 / C2104-103

The AMT ProdInstaller gave an error if it couldn't clean up empty working directories.

The AMT ProdInstaller has been improved so that the errors during the clean up of empty production directories don't affect further installation. Also, the working directories of the AMT Batch Controller, AMT Application Server and AMT Reorganize are now cleaned up by the AMT ProdInstaller.
FIX AMT 87 High
AMT LION Runtime AmtScreens 330742 / C2104-105

Some DLLs for the AmtScreensUpdater were missing, therefore updating AMT Screens did not work.

Missing DLLs have been added to the AmtScreensUpdater.
FIX AMT 87 Medium
AMT LION | AMT COBOL Developer Database C2104-106

Editing a table field type sometimes shifted 2 items when it was clicked, e.g. from Numeric to Signed. Also, Bulk mode for table fields was not working correctly if DbFieldType preview was enabled on an Oracle database. Both issues were caused by the fact that NUMERIC(9) (INT) was not seen as part of a DbFieldType in LionDefinitions.cs.

Both issues have been fixed, by correcting the necessary values in LionDefinitions.cs.
FIX AMT 87 Medium
AMT LION Generator Various C2104-109

During a whole system generation, the AMT Generator would log an error saying it could not copy Asysco.Amt.Charts.dll to the CallDll directory.

The CallDll no longer handles chart rendering and does not need this dll to function, and the AMT Generator no longer tries to copy the file.
FIX AMT 87 Medium
AMT LION | AMT COBOL Runtime Web Client 330725 / C2104-110

Label Background turned black if the blink attribute was set, caused by an error in JavaScript ('===' instead of '==').

The JavaScript is now evaluated correctly.
FIX AMT 87 Medium
AMT LION | AMT COBOL Runtime Web Client 330737 / C2104-113

Setting a label to a value with a highlighter in it, caused the value to be shown twice in the Web Client.

Now the value is shown only once in the Web Client.
FIX AMT 87 Medium
AMT LION | AMT COBOL Runtime Web Client 330413 / C2104-114

Refreshing a dynamic form containing text with highlighters through 'process_main' caused the browser to hang on transmit.

The underlying JavaScript error has been resolved, so the screen keeps working after a transmit.
FIX AMT 87 Medium
AMT LION | AMT COBOL Runtime Web Client 330650 / C2104-120

If a form had input fields before a dynamic form was called (through tabbing), the dynamic form itself controlled which control was focused first, if this wasn't done manually.

Now the dynamic form input fields respect their parent control's tab index and the first input field on the dynamic form is focused.
FIX AMT 87 Medium
AMT LION Runtime AmtScreens 330774 / C2104-121

When the message 'No Query to run' was given in AMT Screens an exception was raised and AMT Screens closed.

The exception has been resolved, and AMT Screens no longer crashes.
FIX AMT 87 Medium
AMT LION | AMT COBOL Developer Code Logic 330757 / C2104-122

It was impossible to change the base date of the system, because of a optimization bug, which caused objects that contained saved settings not to be loaded.

The saved object is now loaded again.
FIX AMT 87 High
AMT LION | AMT COBOL AmtTools Prodinstall/Pinstall 330785 / C2104-129

AMT ProdInstall overwrote AMT Application Center and AMT Control Center appsettings.json files to production and setup.exe changed appsettings.json files when a new version was installed.

AMT ProdInstall does not overwrite appsettings.json files anymore and setup.exe only changes appsettings.json files if the Settings option is selected.
FIX AMT 87 High
AMT LION Runtime Various 330782 / C2105-005

Consumable Web Services: RPC/Literal couldn't parse result messages, as the type was not generated as 'unqualified' as it should have been.

The type is now generated correctly.
FIX AMT 87 High
AMT LION Runtime Jobs/Batches 330768 / C2105-007

In graphical reports, BorderStyle=Underline was not working properly.

The Underline attribute was drawn incorrectly, this has been fixed.
FIX AMT 87 Medium
AMT LION | AMT COBOL Developer Database 330765 / C2105-013

Indexes within within database couldn't be removed, although menu items in the Table window suggested they could.

The relevant menu items have been hidden instead of disabled.
FIX AMT 87 Medium
AMT LION Runtime AmtScreens 330814 / C2105-014

Checkbox without caption was shown very small in AMT Screens.

Control layout in the XAML has been corrected to get the correct behavior.
FIX AMT 87 Low
AMT LION Runtime AmtScreens 330798 / C2105-022

AMT Screens auto-closed when entering Help, because opening URLs were not specified.

This has been corrected. Opening URLs need to be specified as shell programs due to the move to .NET Core.
FIX AMT 87 Medium
AMT LION Runtime AmtScreens 330808 / C2105-023

Within AMT Screens RTQuery large queries could not be edited comfortably.

A splitter screen has been added to AMT Screens RTQuery screen so that the editable part of a Query can be made larger.
FIX AMT 87 Medium