AMT 102
Released: 15 Apr 2022.
For availability, please contact the Avanade Service Portal for information on downloading new releases.
Special attention items:
AMT 102
- AMT 102 is built on .NET 6! Also ComScript and ComModule have been upgraded from .NET Framework to .NET 6.
Please note:- .NET 6 needs to be installed on both servers and workstations
- Web.config needs to be checked/updated for the AMT Application Center and AMT Control Center, as versions have been changed
- all the Nuget packages have been upgraded to the latest possible version, unless breaking changes were encountered.
- Upgrade details:
- Instead of registering the normal dll the new xxx.comhost.dll needs to be registered.
- ComModule.dll -> ComModule.comhost.dll
- ComScript.dll -> ComScript.comhost.dll
- LionRepository.dll -> LionRepository.comhost.dll (only required if the Repository is approached through VBScript)
Note: PowerShell needs to be upgraded to at least 7.2 for .NET 6 support!
- Instead of registering the normal dll the new xxx.comhost.dll needs to be registered.
- For more information on packages needed for installation, please refer to this help page.
- AMT 102 also contains several new items:
- ‘Find’ functionality in the AMT Developer Studio for REST API web services
- Statistics logging for REST API web services
- Trace/debug logging for REST API web services
- A codepage can be added to the AMT Control Center.
CAUTION: only to be used for new installations, as a codepage may alter the contents of existing files! - Function ‘GetQueuedJobs’ has been added to the AMT Developer Studio. It has the same functionality as in the AMT ComScript module.
Product | Cat | Subcat | Description | Type | Version | Priority |
---|---|---|---|---|---|---|
AMT LION | Developer | Web Services REST | C2201-005 'Find' functionality (CTRL + F) did not work for the Consumable REST API in the AMT Developer Studio. 'Find' functionality has been fixed for the REST API, both for results on the same page, and for results in a new window. |
NEW | AMT 102 | Medium |
AMT LION | AMT COBOL | Runtime | Various | 331912 / 332272 / C2201-039 If Setup was unable to delete a file in the existing installation, it would still exit successfully. Now an error message is displayed if something has gone wrong during installation, such as the deletion of an old file, and the error code to is changed to 1. |
FIX | AMT 102 | Medium |
AMT LION | Runtime | Jobs/Batches | 332126 / C2202-057 Time-outs for an agent to start up were set differently in the AMT Application Server and the AMT Batch Controller. All time-outs for an agent to start up has been set to 30 seconds everywhere. |
CHANGE | AMT 102 | Medium |
AMT LION | Runtime | AmtScreens | 332214 / C2203-020 In AMT Screens RTQuery, a selection did not work correctly on Oracle databases if the Select statement was not on the first line of the query text Memo field. The way AMT RTQuery processes the Memo field has been improved. |
FIX | AMT 102 | Medium |
AMT LION | AmtTools | Reo | 332262 / C2203-022 AMT Reorganize did not specify the 'descending' option for primary key indexes from in AMT 100 and AMT 101. This affected only new or altered indexes. Now, the 'descending' option is specified again when primary key indexes are created. |
FIX | AMT 102 | High |
AMT COBOL | Migration | COBOL | C2203-024 Several small changes have been made to accommodate former XGEN instructions in the AMT COBOL generation and AMT GO runtime. |
CHANGE | AMT 102 | Medium |
AMT LION | AMT COBOL | Runtime | Various | C2203-026 All .NET Core projects have been upgraded to .NET 6. Also ComScript and ComModule have been upgraded from .NET Framework to .NET 6. As part of the change, all the Nuget packages have been upgraded to the latest possible version, unless breaking changes were encountered. Please note: - .NET 6 needs to be installed - Web.config needs to be checked/updated for the AMT Application Center and AMT Control Center, as versions have been changed Upgrade details: - Instead of registering the normal dll the new xxx.comhost.dll needs to be registered. - ComModule.dll -> ComModule.comhost.dll - ComScript.dll -> ComScript.comhost.dll - LionRepository.dll -> LionRepository.comhost.dll (only required if the Repository is approached with VBScript) Note: PowerShell needs to be upgraded to at least 7.2 for .NET 6 support! |
CHANGE | AMT 102 | Critical |
AMT LION | AMT COBOL | Generator | Various | C2203-027 An upgrade of the AMT Generator to .NET 6 results in all projects that were previously generated as .Net Core 3.1 now being generated as .NET 6. |
CHANGE | AMT 102 | Medium |
AMT LION | Runtime | Various | 332264 / C2203-028 Database inserts/updates/deletes executed by a Provided REST API call were not committed directly when the REST API call was finished. The database records/tables were kept locked until the AMT Application Server was restarted. Database changes are now committed as soon as the Provided REST API call is finished. |
FIX | AMT 102 | High |
AMT LION | Runtime | Various | C2203-034 Statistics logging for (Provided) REST API calls was missing in AMT. Statistics about REST API calls are now logged in the AMT System Database. |
NEW | AMT 102 | Medium |
AMT LION | Runtime | Various | C2203-035 In some circumstances, when a REST API call failed it returned an 'Object not set to an instance...' exception message as a response. The issue has been resolved by first checking if the result of a REST API call is empty, before processing the response data. |
FIX | AMT 102 | Medium |
AMT LION | Runtime | Various | C2203-037 Improvement of Debug/Trace logging ability was requested for troubleshooting REST API calls. A 'Rest Api' logging severity has been added to the Logging section of the AMT Control Center to enable Debug/Trace logging of REST API calls. |
NEW | AMT 102 | Medium |
AMT LION | Generator | Various | 332245, 332318 / C2203-039 Using the '+=' or '-=' operator in LION caused C# generation errors in specific cases: 1) if the left-hand side variable was numeric and the right-hand side value was Alpha; 2) if the fontsize property was used on the left-hand side (which is an internally different integer type). Internal data type conversion rules have been updated to avoid conflicts. Care has been taken that operation results remain the same as before this change. |
FIX | AMT 102 | Medium |
AMT LION | Runtime | AmtScreens | 332263 / C2203-040 Using Query mode on a table in AMT Screens RTQuery could cause an 'Object reference not set to an instance of an object' exception, if the query had been preceded by an update query on that same table. This situation now no longer occurs, because a backup of the table name is stored and retrieved after the first query has been executed. |
FIX | AMT 102 | Medium |
AMT LION | AMT COBOL | Runtime | Various | 332244 / C2203-041 Jobs assigned to a certain queue and thus to a specified AMT Batch Controller were not always executed by the correct Batch Controller, because it was assumed that if the queue was not found attached to the specified Batch Controller, the default queue had to be used. This led to unwanted behaviour. Now, if a queue id has been given but this queue is not attached to the current AMT Batch Controller, the Batch Controller will not pick up the job. |
FIX | AMT 102 | Medium |
AMT LION | Runtime | Jobs/Batches | 332173 / C2203-043 SaveRecovery caused a 'Duplicate keys' error in the AMTSYSCRITICALREPORT table, because keys were added at every call. Now a key is added to the AMTSYSCRITICALREPORT table only at the first call. |
FIX | AMT 102 | Medium |
AMT LION | AMT COBOL | Runtime | Various | 331951 / C2203-052 Extra diagnostics have been added to the AMT Batch Controller in case of failures. |
CHANGE | AMT 102 | Medium |
AMT LION | Developer | Web Services Soap | 332283 / C2203-060 AMT Consumable SOAP Web Services caused a C# error, if nested classes of SOAP operation parameters were used. Nested classes of SOAP operation parameters are now handled/generated correctly. Also, operations named after a C# keyword like 'void' are also possible now. |
FIX | AMT 102 | Medium |
AMT LION | Runtime | Various | 332295 / C2203-061 The casing of REST API request/response attribute names was incorrect. REST APIs always uses lowercase for the attribute names, regardless of the casing defined in the AMT Developer Studio. The correct casing of REST API request/response attribute names, equal to that defined in the AMT Developer Studio, is now enforced. |
FIX | AMT 102 | High |
AMT LION | AMT COBOL | Migration | DMSII | C2203-069 In the Datapump tool, translating negative Int32 values to String with leading zeros led to wrong values, with the sign in the middle e.g. "00000-95". The problem was located in AMT's runtime libraries, which means other products may also have been affected. The problem has been fixed in the AMT runtime libraries, so changed value '00000-95' is now '-0000095'. |
FIX | AMT 102 | Medium |
AMT LION | Developer | Various | 332356 / C2203-072 AMT Developer Studio target objects are shown in column 'locked' in the Relations screen. Relations screen target objects are now shown under the correct column. |
FIX | AMT 102 | Low |
AMT LION | AMT COBOL | AmtTools | Reo | 332217 / C2203-086 AMT Reorganize's check on order of foreign key columns order was too strict, causing the Reo to drop and create foreign keys every time. AMT Reorganize now allows differences in the order of columns in foreign keys. |
FIX | AMT 102 | Medium |
AMT LION | Developer | Code Logic | 332316 / C2203-087 AMT Developer Studio: expressions stretching over multiple lines within a WITH statement caused the validation and generation of a LION source to fail, if operands starting with a period (e.g. class properties) were used. The LION Expression Parser has been fixed to deal correctly with such expressions. |
FIX | AMT 102 | High |
AMT LION | Runtime | Various | C2203-091 The maximum number of Provided REST API sessions per user was limited to the 'Max session per station' setting in the AMT Control Center, but there should not be a limit on the number of sessions. A Provided REST API session now gets its own unique station name, similar to Provided Web Services (SOAP) sessions and AmtComModule sessions. |
CHANGE | AMT 102 | Medium |
AMT COBOL | Runtime | Web Client | 332386 / C2203-092 AMT Web Client Forms Authentication in a NoFramework configuration did not work for former COBOL ASeries applications. Logon and user validation have been improved, so a NoFramework configuration now also works for former COBOL ASeries applications. |
FIX | AMT 102 | Medium |
AMT LION | AMT COBOL | Runtime | Various | 332375 / C2203-105 In the System Setup in the AMT Control Center, a codepage can now be specified, to be used to convert data between Unicode and ASCII. Note: Don't change if you already have data in files, as values might be changed! |
NEW | AMT 102 | High |
AMT LION | Runtime | Various | C2203-110 REST APIs used the Service name along with the username to store session data. This has been changed to the Session ID to ensure proper linking of sessions. |
CHANGE | AMT 102 | Medium |
AMT LION | Developer | Web Services REST | C2203-111 In the AMT Developer Studio, when the splitter was dragged within a Consumable Web Service, the search result/error box did not resize. Resizing of the search result/error box has been fixed so the box resizes when the splitter is moved. |
FIX | AMT 102 | Medium |
AMT LION | Runtime | Various | C2203-115 The AmtLogon method of a Provided REST API caused a 'Value cannot be null. (Parameter 'userName')' exception when the Debug/Trace logging was enabled for the REST API. The 'value cannot be null. (Parameter 'userName')' exception issue has been resolved by improving the LogRequestData logic. |
FIX | AMT 102 | Medium |
AMT LION | AMT COBOL | Developer | Code Logic | 332409 / C2203-116 Function 'GetQueuedJobs' is now implemented for a task object in the AMT Developer Studio. It has exactly the same functionality as in the ComScript module. |
NEW | AMT 102 | Medium |
AMT LION | Generator | Various | 332412 / C2203-119 The LionDevGenerator/LionParser crashed due to a stack overflow with incorrect, recursive LION code. The cause of the stack overflow has been eliminated by adding an extra check on empty expressions. |
FIX | AMT 102 | Medium |
AMT LION | AMT COBOL | Runtime | Various | C2204-019 NLS has to be set to 'on' for AMT executable projects. This is necessary for the 'IndexOf' and Stringcomparison functions to work correctly in AMT .NET 6, similar to .NET Core 3.1. |
FIX | AMT 102 | High |
AMT LION | Runtime | Web Client | 332466 / C2204-020 Due to creation order issues, the AMT REST API Provider with a nested class parameter could raise error 'Value cannot be null'. The generation of AMT classes has been improved so that the internal creation of nested classes is done at the suitable place for nested class parameters. |
FIX | AMT 102 | Medium |