AMT Release Notes

AMT 83

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

Special attention items:

AMT 83

Product Cat Subcat Description Type Version Priority
AMT LION | AMT COBOL AmtTools Reo C1902-086

AMT Reorganize did not handle table column type changes correctly; increasing the number of decimals in a numeric field caused the integer part to be cut off, and decreasing the number of array elements raised errors.

Increasing the number of decimals no longer leads to data being cut off, and decreasing the number of array elements is now handled correctly.
FIX AMT 83 High
AMT LION Developer Database C2005-007

Too many warnings were shown in AMT LION Developer for database index conditions using nullable table columns, and no warning was shown when an index condition column was set to nullable.

The check on nullable columns in index conditions is now skipped if the index condition is unchanged. On the other hand, if table columns have been modified, the check for nullable columns is expanded to columns used in index conditions.
FIX AMT 83 Low
AMT LION Runtime AmtScreens 329888 / 329959

Configuration B was not supported.

Configuration B is now supported; AMT Screens now compares the local version with the server version and updates AMT Screens through the new AmtScreensUpdater and starts AMT Screens after installation.
NEW AMT 83 High
AMT LION | AMT COBOL Runtime Various C2011-032

The AMT Application Center was run with ASP .NET Framework website technology, which must be run on a Windows operating system.

A new version of the website has been developed with ASP .NET Core instead, which can be hosted on any operating system. The only difference for users is that most of the configuration must be done in appsettings.json instead of web.config.

This ASP .NET Core version of the AMT Application Center will be available in PREVIEW in a future release!
CHANGE AMT 83 Medium
AMT LION | AMT COBOL AmtTools Reo 329840 / C2012-041

AMT Reorganize was slow in updating records for conditional indexes.

AMT Reorganize has been improved to update record values for conditional indexes, so that it can now be combined with other conditional indexes on the same table.
Also,  updating is now done in one go and not in two separate stages.
FIX AMT 83 Medium
AMT LION Runtime AmtScreens C2012-076

AMT Screens has been moved to .Net Core.  There are now two more files in the AmtScreens folder, AmtScreens.dll and AmtScreens.runtimeconfig.json. Both are necessary for running AMT Screens.
NEW AMT 83 High
AMT LION Developer Web Services 330165

If the Soapheader class was used in a provided webservice, services could not be activated and raised a long error message.

This has now been resolved, by using the correct (_Native) classes when the provided webservice is generated.
FIX AMT 83 Medium
AMT COBOL Generator Various 330072 / C2012-084

If remote databases were used in AMT COBOL, AMT rejected the queries, because it couldn't find the required table(s). This rejection could be suppressed by the WARNSQLFUNCTIONS=TRUE switch.

Now, if a query is used with the 'EXEC SQL AT MyRemoteDatabase' statement, the existence of the table is not checked anymore.
CHANGE AMT 83 High
AMT LION | AMT COBOL AmtTools Reo C2101-016

If a table was changed to Unicode or back to ANSI, AMT Reorganize did not implement the change for SQL Server and Oracle. Logging showed that an action had been performed, but the database was not changed.

Now the change gets executed and CHAR, VARCHAR and TEXT fields are changed to their required format in the database.
FIX AMT 83 High
AMT LION | AMT COBOL Runtime Various 330216 / 330313 / 330293

Named pipes logged errors and warnings in the logging, which were difficult to address as the same functionality was coded differently in various AMT products.

As a first step to solving any further problems with Named Pipes, code has been refactored and is reused between services to improve stability and maintainability.
FIX AMT 83 High
AMT LION | AMT COBOL Control Center Various C2101-078

The forthcoming ASP.NET Core AMT Control Center and AMT Application Center websites were slow during login and keepalive calls if the system database contained a lot of tokens for the current user.

The performance of checking the validity of a refresh token has been improved.
FIX AMT 83 Medium
AMT COBOL Developer Database C2101-082

With change C1906-014 (AMT 55), default values were no longer automatically added to database fields by AMT Reorganize. This could be a problem for new DMS2200 fields in an existing database as these are always NOT NULL, which could cause an AMT Reorganize on a populated table to fail.

The AMT COBOL Generator has been fixed so that it always generates a default value for DMS2200 fields. AMT Reorganize  then adds this value to database fields. These default values are the same as AMT Reorganize added prior to C1906-014.
FIX AMT 83 High
AMT LION | AMT COBOL Control Center Various C2101-084

The forthcoming ASP.NET Core AMT Control Center raised an error in the Requests section, as GetAmtRequest requests were sent to the API without the mandatory 'id' parameter.

The error has been fixed by adding 'id' to the parameters.
FIX AMT 83 Medium
AMT LION Runtime Various 330281

Concat of system items got an 'Object reference not set to an instance of an object' exception if Null strings were used.

Null values are handled correctly now.
FIX AMT 83 Medium
AMT COBOL Runtime Web Client 330200

The macro bar with macros to enter a transaction code with one click did not work in AMT 78 and higher, sometimes even crashing the application. This was caused by the switch to GRPC.

GRPC communication and JavaScript have been fixed in AMT to make macro functionality work as expected again.
FIX AMT 83 High
AMT LION | AMT COBOL Runtime COM Module 330030

Numeric values with no decimals were sent as 0 by the LionComModule, due to a syntax error that was introduced during maintenance.

The syntax error has been fixed.
FIX AMT 83 Medium
AMT COBOL Generator Various 330299 / C2101-092

If a redefined item was bigger than the original item, the program crashed if the redefined was used in the COBOL code.

Now, a filler variable is added to the structure to match the size of the original group and the defined group.

IMPORTANT !!!! 
The problem has been solved by adding a filler to the original group if the redefine is bigger than the original group or variable..
However, the solution presented problems for other systems, so this change is only executed if a Genset option is set.
The GENSET option is :
CORRECTREDEFINES=TRUE
CHANGE AMT 83 High
AMT LION Runtime Various 330282 / 330283 / 330322 / 329325 / 330332

AMT didn't support RPC/LITERAL messages for consumable webservices. The web service was generated, but raised errors at runtime.

Support for RPC/LITERAL messages in consumable webservices has now been implemented correctly.
FIX AMT 83 Medium
AMT LION | AMT COBOL Developer Reports C2101-099

In preparation for the upgrade to a new PDF generator to comply with new pdf versions, some software changes have been made:
- Embedded fonts. This is now always set to true. In future releases this setting will be obsolete and have no influence, as fonts will always be embedded to meet the requirements of PDF/A.
- Print Orientation: if the developer does not set the orientation at the first print, it is now automatically set based on height and width of the document.
CHANGE AMT 83 Medium
AMT LION | AMT COBOL Control Center Security 330304

Viewing prints in the forthcoming ASP.NET Core AMT Control Center sometimes gave an error because it was assumed the user did not have the proper authorization to view all prints, even when they did.

This issue has been resolved by making the AMT Control Center check the correct component rights.
FIX AMT 83 Medium
AMT LION | AMT COBOL Runtime Various C2101-105

Support for Opera browsers in AMT has ended. As the market share of Opera is small, less than 3% and declining, we have decided to put our efforts in supporting major browsers like Chrome, Edge and Firefox. Therefore a currently known issue with closing sessions within Opera will not be solved.
CHANGE AMT 83 Medium
AMT LION | AMT COBOL Runtime Web Client C2101-112

The AMT Control Center (CC) and AMT Application Center (AC) websites are similar. However, when the forthcoming .NET Core versions of these websites were created, a number of differences emerged that have now been resolved by refactoring in the AMT Kernel:

- The separate solution for AC Core has been removed, the original solution is now used, as is the case with CC.
- The CC Core publish folder has been changed from ...html5aspnetcore to ...html5core.
- The AC Core publish profiles have been changed to mimic the CC Core ones.
- The AC web API source control folder has been changed from the full project name to a short name.
- The CC Core website source control folder name has been changed from ...html5webaspnetcore to ...html5webcore
- Build task names for local refresh have been synchronized.
CHANGE AMT 83 Medium
AMT LION Runtime AmtScreens C2102-002

AmtScreensUpdater for ConfigurationB only worked with AMT Screens in a .NET framework.

AmtScreensUpdater now works with .NET Core AMT Screens.
CHANGE AMT 83 Medium
AMT LION Developer Various 330309 / C2102-004

Headers filled with the class name instead of the proper description were shown when listview data was printed in AMT Developer Studio.

The correct header text is now retrieved from the appropriate listview header property.
FIX AMT 83 Medium
AMT COBOL Generator Various 330353 / C2101-013

ExDef/ExRef variable failed if the variable was not part of a group, because the variable was optimized as NativeAmt instead of AmtVariable.

It is now optimized as AmtVariable, so exDef/ExRef works again.
FIX AMT 83 High
AMT LION Runtime Various 329612

Logging for consumable webservices has been implemented. Adding line '<add key='EnableLogging' value='true' /> to the AMT Control Center WebConsumables configuration now results in logging of all input and output messages into the AMT logfiles.
FIX AMT 83 Medium
AMT LION | AMT COBOL Runtime Web Client C2102-020

On return to a form, specifying an attribute like 'bright' in a dynamic form caused the edit fields behind it to move 1 position to the left, as the attribute did not originally take up a position.

Now the attribute always takes up a position so the layout remains intact in any circumstance.
FIX AMT 83 Medium
AMT LION Runtime Various 330340

In Consumable Web Services, the XML root element was missing, because the input and output wrappers coming from web services were disabled in AMT 82.

These have now been reenabled.
FIX AMT 83 High
AMT LION AmtTools Debugger 300360

Rest API webservices folders appeared in the AMT Developer even though the REST API preview key was not set in the Lion.ini file.

A check has been added to the refresh functionality to ensure that the REST API webservices folders are not shown when the preview key is not set in the Lion.ini file.
FIX AMT 83 Medium
AMT LION Developer Web Services 330314

AMT now supports XmlSchemaSimpleContentExtension in a WSDL:
For example:

<xsd:complexType name='Measurement'>
        <xsd:simpleContent>
          <xsd:extension base='decimal'>
            <xsd:attribute default='CMK' form='unqualified' name='unitOfMeasurement' type='MeasurementUnitCode'/>
          </xsd:extension>
        </xsd:simpleContent>
      </xsd:complexType>
      <xsd:simpleType name='MeasurementUnitCode'>
        <xsd:restriction base='xsd:string'>
          <xsd:enumeration value='APZ'/>
        </xsd:restriction>
      </xsd:simpleType>

Measurement is a class in AMT with 2 properties:
The .Value (decimal) and the .MeasurementUnitCode (string).
FIX AMT 83 Medium
AMT LION Runtime AmtScreens 330321 / 330320

In AMT Screens, a find command within the print preview using 'match whole word' raised an exception.

The find command using 'match whole word' has been fixed by improving the 'match whole word' algorithm. Also, the search screen is now shown above the preview screen, so preview and search screen are both visible simultaneously.
FIX AMT 83 Medium
AMT LION Developer Various 330371

Export of (new) consumable and provided web services didn't work when the batch export functionality was used, only the old style web services were exported.

This has now been fixed by re-enabling the export of the new style consumable and provided webservices.
FIX AMT 83 Medium
AMT LION Runtime Web Client 330342

- A Scrollbox or a Panel on a Panel or Scrollbox did not inherit the background colour.
- The child controls of a Tabsheet did not change colour when the Tabsheet changed colour.

- The Scrollbox and Panel now inherit the background  colour correctly.
- The child controls of a Tabsheet now inherit the background colour correctly.
FIX AMT 83 Medium
AMT LION Runtime AmtScreens C2102-044

The configuration shown in the 'About' screen of AMT Screens Configuration B was not correct.

The correct configuration is now shown.
FIX AMT 83 Medium
AMT LION | AMT COBOL Developer Various 330395 / C2102-047

It was not possible to assign the 1.0 version of a table and index to a genset from a label. 

It is now possible to assign the 1.0 version of a table and index to a genset from a label, except if the table or index is locked.
CHANGE AMT 83 Medium
AMT LION | AMT COBOL AmtTools Reo 330373

When AMT Reorganize was run in batch mode, the popup questions 'Users connected, retry? Yes/No' and 'A reo is needed, continue? Yes/No' were logged but no response was offered, causing the the Reorganize to hang.

The AMT Reorganize in batch mode now responds correctly to the questions; with 'connected users' it does not retry and ends the program with appropriate logging; with 'reo needed' the answer is always 'Yes' and the Reorganize continues.
FIX AMT 83 Medium
AMT LION Runtime Various 330417

AMT Consumable calling web services with basic authentication did not work.

The application of appsettings to the AMT Consumable web call has been improved, so that basic authentication works correctly now. See also 329612 / C2102-017.
FIX AMT 83 Medium
AMT COBOL AmtTools Debugger C2102-096 /  330306

The warning 'RETENTION is not implemented' was generated when query 'DECLARE CURNAME CURSOR FOR RETENTION' was used.

The warning is no longer shown, it should not have been generated, AMT does implement the RETENTION cursor.
CHANGE AMT 83 Medium