AMT Release Notes

AMT 106

Released: 15 Jul 2022.
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 | AMT COBOL Runtime Web Client 331993 / C2201-093

Regression: tabbing in the web went wrong in the extra handling that was required for VS customers.

The extra code is not called in non VS customers anymore.
FIX AMT 106 Medium
AMT LION Runtime AmtScreens C2202-080

In AMT Screens, there was much memory overhead when the download functionality of the LION SENDATTACHMENT command was used.

A redundant loop has been removed, reducing the memory overhead with approximately 20%.
FIX AMT 106 Medium
AMT LION Runtime Scripts 332297 / C2203-059

New function 'GetExtractFileName' has been added to ComScript. With this it is possible to obtain the filename of an extract file by passing the file id as a parameter.
NEW AMT 106 Medium
AMT LION Runtime Web Client 332748 / C2206-006

If an item was clicked in a list view, it was scrolled to the top to get it into view, even if it was already visible. This caused problems with double-clicks.

If a list item is clicked, it is not scrolled to the top anymore, because 'ScrollIntoView' is no longer called.
FIX AMT 106 Medium
AMT LION | AMT COBOL Control Center Various 331871 / C2206-043

An AMT batch job could be started twice, if the AMT Batch Controller wrongly assumed the agent responsible for the job was down, and it started another agent.

Error processing in the AMT Batch Controller has been improved. If 'StartReport' is received by an agent, that agent is responsible for error handing and not the AMT Batch Controller anymore.
FIX AMT 106 High
AMT COBOL Runtime Various C2206-051

The loading of FormDefintions by the TransactionAgent could take a long time if FormDefinitions.dll was big in size.

Now the TransactionAgent loads FormDefinitions.dll as a background task during start-up.
CHANGE AMT 106 Medium
AMT LION Runtime Web Client 317879 / C2206-056

In AMT Screens and the web client, SMEs were cleaned after a transmit of an event.

Now, the last message is kept during an event routine. If a 'Submit' or 'Select Screen' is executed, the message buffer is cleared before the transaction is done.
FIX AMT 106 High
AMT LION | AMT COBOL Runtime Various C2206-058

In AMT GO, the parsing of a date or datetime value with a specified format did not always return an error if part of the date was zero. For example, format 'MMDDYYYY' incorrectly accepted value '00062020'.

This issue has been fixed. This fix may cause a different behaviour in the date handling of existing dates containing zero.
FIX AMT 106 Medium
AMT LION | AMT COBOL AmtTools Debugger 332532, 332783 / C2206-060

If the AMT Debugger was used with a lot of global definitions, it would not hit breakpoints properly and would cause AMT Screens to freeze when a form was transmitted.

This issue of incorrect logging has been resolved and the LionDebugger can now properly handle large amounts of global definitions.
FIX AMT 106 Medium
AMT LION | AMT COBOL Migration XGEN C2206-067

Method 'Resident' has been added to the XGEN runtime library to ensure that a file extension is correctly handled or set when a check is done on file existence. This method returns a boolean with value 'true' if the file exists, otherwise it returns 'false'.
CHANGE AMT 106 Medium
AMT LION | AMT COBOL Runtime Jobs/Batches 332578 / C2206-073

Reports in a queue get a different status now when the queue is blocked, this status is now set to 'WaitingForQueue'.
FIX AMT 106 Medium
AMT LION | AMT COBOL Runtime Jobs/Batches 332372 / C2206-075

'SendToBack' and 'BringToFront' did not work correctly for graphical reports.

Both commands have been corrected and now work as expected.
FIX AMT 106 Medium
AMT LION Developer Various 332852 / C2206-076

Z-Order has been made visible in the AMT Object Inspector. It is now also possible to change the values directly.
NEW AMT 106 High
AMT LION | AMT COBOL Runtime Various C2206-078

In an XGEN form, a required numeric field that was left empty (not filled in) was not detected as being left empty if the 'EDIT REQUIRED' statement was used.

An empty numeric field is now correctly detected if the 'EDIT REQUIRED' statement is used.
CHANGE AMT 106 Medium
AMT COBOL Migration COBOL C2206-085

AMT COBOL Uniys A-Series COBOL only: the 'FIND' statement with parentheses in 'WHERE' or 'AT' clauses was generated incorrectly. The following code was not picked up by the generator as it should, causing invalid database queries and runtime errors.
FIND table VIA index
  AT     (field1 = var1)
  AND (field2 = var2)
  AND (field3 = var3)

The AMT Generator has been changed so it can handle these statements correctly.
FIX AMT 106 Medium
AMT LION Runtime Jobs/Batches 332809 / C2206-086

First page was not the correct size when it was printed, due to incorrect handling of margins in the PDF printing library.

The issue has been fixed, all pages have the right size now.
FIX AMT 106 Medium
AMT LION | AMT COBOL Runtime Jobs/Batches 332800 / C2206-095

Graphical reports showed strange dots in certain PDF readers.

'Underline' and 'Strikethrough' drew lines in incorrect places, these have been removed.
FIX AMT 106 Medium
AMT LION Runtime AmtScreens 332719 / C2206-099

Usage of AMT files give a lot of Reconnect Warnings in their log files, like 'AllowedToReconnect is false, CanReconnect: True, Open FileIds: 1, InTransaction False.'

Logging has been improved, so that the warning is only given when AMT tries to reuse an AMT File Controller connection which is 'dirty'.

Note: This situation is functionally handled correctly, however it does indicate that a previous connection has not been or could not be closed correctly!
FIX AMT 106 Medium
AMT LION Runtime Jobs/Batches 332473 / C2206-107

When 'Commit' is called, the following error is thrown: 'The transaction operation cannot be performed because there are pending requests working on this transaction.'

Extra logging has been added to detect intermixed 'FIND/FINDNEXT' and 'GETFIRST/LOOP'. A more structural solution will be implemented later.
FIX AMT 106 Medium
AMT LION | AMT COBOL Runtime Web Client C2206-109

The 'Inspect > Console' section of browsers showed 'Error with Permissions-Policy header' errors if the AMT Application Center or the Web Client of an AMT application was navigated to. This happened if the Permissions-Policy header settings from the default web.config were used.

The syntax of the Permissions-Policy header in the default web.config has been corrected.
FIX AMT 106 Medium
AMT LION | AMT COBOL AmtTools Reo 332071 / C2206-114

In Oracle databases, for indexes with included columns, AMT Reorganize tried to create a unique constraint which was already present.

The analysis of the database has been improved, so that only the index is created and not the unique constraint if the constraint index is present and the full index is not.
FIX AMT 106 Medium
AMT LION | AMT COBOL Runtime Scripts C2206-117

The job object interface of the AMT ComScript module didn't have a method to reset/initialize an existing job object. This is required if an existing job object is reused for executing another task/job.

A new function called 'Initialize' has been added to the Job interface of the AMT ComScript module, this function resets the job object to its initial state.
NEW AMT 106 Medium
AMT LION | AMT COBOL AmtTools Reo C2206-118

If AMT Reorganize was run on a new database it kept seeing the default value changed for system tables fields in MsSql.

AMT Reorganize has been corrected so that it sees a change only if there is in fact a change.
FIX AMT 106 Medium
AMT LION | AMT COBOL Migration XGEN C2206-123

When method 'ProcessGiving' is called, it should not do anything if an EDIT error is set in XGEN.

The 'ProcessGiving' method in the AmtCobolXGenFunctions in the runtime libraries, has been modified so that it now checks the EDIT error state. If the EDIT error is set, it will do nothing.
CHANGE AMT 106 Medium
AMT COBOL Runtime Web Client C2206-128

The FormDefinitions now have an extra FieldDefintion for 'ShowLeadingZeros'. Valid values are:
    "N": No Zeros
     "O": One Zero
     "A": All Zeros
     "B": All Zeros except 0
CHANGE AMT 106 Medium
AMT LION Developer Web Services Soap 332918 / C2207-018

Loading a WSDL file froze AMT Developer Studio, through a deadlock in named pipes caused by mixing sync and async.

Sync and async in named pipes have now been completely separated.
FIX AMT 106 Medium
AMT LION | AMT COBOL AmtTools Reo 332479 / C2207-019

AMT Reorganization services failed to start, as duplicate ids in the Protobuf protocol caused the communication to stop.

This issue has been resolved.
FIX AMT 106 Medium