.

Release Notes: CODESYS V3.5 SP21 Patch 1

Key Issue Type Summary Resolution Note
CDS-93822 Improvement

CLONE - QS Target Linux/x64 for consistent Retain (double buffer in file)

Fixed
CDS-93801 Bug

CLONE - Error in internal Code for network variables with CmpSchedule-Library

Fixed [[GENERAL]]
Compiler Version >= 3.5.21.10
CDS-93756 Bug

CLONE - Gateway.cfg contains a non-printable NBSP character

Fixed
CDS-93731 Bug

CLONE - Online Change is triggered if precompilecache is not available

Won't Fix [[GENERAL]]
The problem only occurs when the targetsetting "codegenerator\\link-all-globalvariables" is used to link all global variables even when they are not used in the project. This setting is rarely used and poorly tested. We recommend not to use this target setting.
CDS-93730 Bug

CLONE - Intellisense: List Components Not Working for Pointers

Fixed
CDS-93729 Bug

CLONE - Issues with language model provision if project is loaded with command line switch

Fixed
CDS-93725 Bug

CLONE - Online Change vPLC: connection loss, not possible to send application

Won't Fix [[GENERAL]]
The fix for keeping the online connection established needs to be done in the safety extension (SAFETY-295). Therefore, this issue here will not be fixed in essentials.
CDS-93716 Bug

CLONE - CmpIecTask: Sporadic watchdog error could occur

Fixed
CDS-93663 Bug

CLONE - SVG-Renderer: Security issues in OSS versions before (libxml2 2.14.2, libcurl 8.13.0)

Fixed
CDS-93660 Bug

CLONE - Automatic adressing from Array of Array with "AT %MWX" not working

Fixed
CDS-93659 Bug

CLONE - OnlineManager: Missing content in subtag can lead to error at download

Fixed
CDS-93658 Bug

CLONE - opening template-project in sandbox exits with: Project handle -1 is invalid

Fixed
CDS-93657 Bug

CLONE - LMM: Internal errors with older compilerversion

Fixed [[GENERAL]]
There was a break in binary compatability of interface libraries with 3.5.21.0
This breaking change was reverted with this fix.
CDS-93645 Bug

CLONE - CmpUserMgr: Add access rights to call UserMgrUserGetProperty for the own user

Fixed
CDS-93636 Bug

CLONE - Project Compare: External file object loses embedded content when merged

Fixed
CDS-93622 Improvement

CLONE - CmpAuditLog: New API to also protocol sessionId and server login and logout

Fixed
CDS-93621 Improvement

CLONE - CmpAuditLog: New generic AuditLog Event with unique ID

Fixed [[GENERAL]]
- New event is specified in CmpAuditLogItf (similar to EVTL_LogAdd event):
/**
* <category>Event parameter</category>
* <element name="pApp" type="IN">Pointer to application description</element>
*/
typedef struct
{
RTS_HANDLE hAuditLog;
RTS_CSTRING *pszUser;
CMPID CmpId;
RTS_I32 iClassID;
RTS_RESULT iErrorID;
RTS_I32 iInfoID;
char *pszInfo;
va_list *pargList;
} EVTPARAM_CmpAuditLogAdd;
#define EVTPARAMID_CmpAuditLogAdd 0x0001
#define EVTVERSION_CmpAuditLogAdd 0x0001

/**
* <category>Events</category>
* <description>Event is sent, after a new audit log entry was added to the logger.
* NOTE: Is posted only, if the corresponding audit log entry has a unique iInfoID != 0!
* </description>
* <param name="pEventParam" type="IN">EVTPARAM_CmpAuditLogAdd</param>
*/
#define EVT_AuditLogAdd MAKE_EVENTID(EVTCLASS_INFO, 1)

- Event is fired in AuditLogUserAddArg() only, if iInfoID != 0
- Event is specified in new CmpAuditLog.library too (optional component and so it must be an optional library too!)
CDS-93620 Improvement

CLONE - CmpX509Cert: New event to inform about expired certificates of CODESYSControl RTS use cases

Fixed
CDS-93619 Improvement

CLONE - CmpUserMgr: New AuditLog Message to inform that a user was locked

Fixed
CDS-93618 Improvement

CLONE - CmpDevice: In case of an authentication failure on runtime/webserver audit log message with event is fired

Fixed [[GENERAL]] The authentication on the web server with runtime user management corresponds to the authentication on the CODESYS runtime server. By interpreting the provided audit log string, it is possible to distinguish which server was affected.
CDS-93617 Improvement

CLONE - CmpUserMgr: New event to inform that the password will expire soon

Fixed
CDS-93616 Improvement

CLONE - CmpUserMgr: New event to inform that the password has expired

Fixed
CDS-93615 Bug

CLONE - CODESYSControl: Security issues in Expat versions before 2.7.1

Fixed
CDS-93613 Improvement

CLONE - CmpAuditLog: Support of SessionID and ExtraEventInfo in event parameter and log

Fixed
CDS-93541 Bug

CLONE - MessageView: Column without a title

Fixed
CDS-93458 Improvement

CLONE - CmpX509Cert: Enable searching the certificate store for certificates valid at a specific time

Fixed
CDS-93454 Bug

CLONE - Help: OfflineHelp does not support jumping into libraries when pressing F1

Fixed
CDS-93451 Improvement

CLONE - Consistent RETAIN + PERSISTENT data stored in file

Fixed [[COMPATIBILITY_INFORMATION-OEM]]
- Add the following feature to your target profile: "RetainsDoubleBufferedInFile"
- New component "CmpRetainDoubleBufferedInFile" is present. "CmpRetain" is replaced
- New device description is necessary with the following target setting:
<ts:section name="codegenerator">
<!-- Consistent RETAIN in file begin -->
<ts:setting name="report-retain-persistent-update-in-cycle" type="boolean" access="visible">
<ts:value>1</ts:value>
</ts:setting>

[[KNOWN_LIMITATIONS]]
- Retain and retain persistent variables changed via online monitoring might not be saved with the double buffered mechanism, only at shutdown. This can be the case when a event triggered task is using those retains, but the event is not send after the retain change.
CDS-93442 Improvement

CLONE - CmpX509Cert: New event to inform about the validity period of certificates per CODESYSControl RTS use case

Fixed
CDS-93349 Bug

CLONE - UpdateEnvironment: Placeholder is resolved to an old version, despite All To Newest

Fixed
CDS-93278 Improvement

CLONE - DM / VxWorks : implement exclude external for Contrib/OpenSSL in VxWorks buildsystem

Won't Fix [[GENERAL]]
=== Wont fix note ===
Wont fix, as a testcompile with the given changes in wrproject jinja did not succeed. So currently there is no ready solution for this requirement inside the VxWorks buildsystem yet, that has reasonable chances to compile. A solution has to be found (in trunk first) that compiles and can be tested.
CDS-93277 Bug

CLONE - CmpOpenSSL / X509: Infinite loop leading to Security Agent Freeze in case of specific certificates

Fixed
CDS-93275 Bug

CLONE - CmpOpenSSL: Security issues in OpenSSL versions before 3.2.4

Fixed
CDS-93270 Bug

CLONE - Compiler, M4-Export: Wrong codegeneration with Interface-Inheritance

Fixed
CDS-93268 Bug

CLONE - CmpOPCUAClient: Exception on VxWorks, if client fails to connect to an OPCUA server

Fixed
CDS-93267 Bug

CLONE - Device Communication: Users and Groups: No check for valid characters

Fixed
CDS-93263 Bug

CLONE - Online change causes compile error if a new variable is added to a function block with an interface instance as additional input in FB_init

Fixed [[GENERAL]]
Compilerversion 3.5.22.0
CDS-93262 Bug

CLONE - Sporadic internal Error at compile

Fixed [[GENERAL]]
Compiler version >= 3.5.21.10
CDS-93213 Bug

CLONE - Intellisense: Auto-Completion: Ctrl+Space doesn't work if the auto declaration icon (smart tag) appears

Fixed
CDS-93137 Bug

CLONE: Refactoring: IDE closes/crashes when Refeactoring is executed on ethernet-device

Fixed
CDS-93105 Bug

CLONE - Gateway SysTray: Config mode cannot be activated

Fixed
CDS-93095 Improvement

CLONE - PLCHandler: New interface needed to check an offline bootproject against running application on the PLC

Fixed
CDS-93094 Improvement

CLONE - CmpIoMgr: Data Consistent call of non-IoDrv

Won't Fix [[GENERAL]]
The relevance of the improvement does not justify a fix in a patch
CDS-93093 Improvement

CLONE - PLC Log: Display of Time/Date format in regional format

Fixed
CDS-93092 Bug

CLONE - Specific Project: Duplicated objects (same name, same object) in the POUs part

Fixed [[GENERAL]]
The RepairProject tool repairs the wrong relationships between objects and its parent in a project. It does not fix the duplicate objects and maybe other problems caused by the bug. The bug was fixed with CDS-93260.
CDS-93024 Bug

CLONE - Breakpoints set in FB-Instances of Libraries, will not be shown correctly

Fixed [[GENERAL]]
Compilerversion >= 3.5.21.10
CDS-92953 Bug

CLONE - IECTextEditor: Missing inline monitoring and breakpoint positions when stepping into compiled library with reloaded source library

Fixed
CDS-92934 Bug

CLONE - Compiler, LanguageModel: SignatureInserted event is missing for pool signature

Fixed
CDS-92926 Improvement

CLONE - DeviceObject: Implement IObjectNameConflictChecker2 to return a conflicting object GUID

Fixed
CDS-92925 Improvement

CLONE - Object Manager: Extend IObjectNameConflictChecker to allow implementations to defineconflicting objects

Fixed
CDS-92876 Bug

CLONE - Visu: Investigate placeholder redirection when visu is added later

Won't Fix [[GENERAL]]
Risk is too large for patching this issue.
CDS-92875 Bug

CLONE - Compiler: Unassigned Optional VAR_INPUT of method leads to compile error in a call with ARRAY[*] VAR_IN_OUT

Cannot Reproduce [[GENERAL]]
Starting with compilerversion 3.5.21.0 this problem is no longer reproducible
CDS-92874 Bug

CLONE - Only code of compiled library is shown, when compiled lib would be opened with locally stored library.

Fixed
CDS-92770 Bug

CLONE - Device User Management: Password of a new user cannot be changed

Fixed
CDS-92076 Improvement

CLONE - AuditLog: Log synchronously with LT_DUMP_ALWAYS in all log backends to avoid log entry gaps

Fixed
CDS-92030 Bug

CLONE - LibMan: Library Parameters of sub-libraries are not considered

Fixed
CDS-92028 Bug

CLONE - M4 Export : Referenced IEC constructs from external libraries not included in export

Fixed
CDS-92010 Improvement

CLONE - AuditLog / UserActions: Log of further security related online services / operations

Fixed
CDS-92009 Bug

CLONE - CmpRedundancy: Standalone/Standalone after reboot of active linux machine

Won't Fix [[GENERAL]]
Due to time constraints, it was not feasible to implement a bug fix in this version.
CDS-92008 Improvement

CLONE - Add Option for Connection Timeout Gateway <-> PLC

Cannot Reproduce [[GENERAL]]
Session timeout was already introduced in version 3.5.18.0 by CDS-31565 for the CODESYS Control runtime system.
CDS-92004 Bug

CLONE - Adding application object as redo step clears redo stack

Won't Fix [[GENERAL]]
A clone is not required any more.
CDS-92003 Improvement

CLONE - [Project Usermanagment] Dialog for information to change "Owner" password

Won't Fix [[GENERAL]]
There is no need to implement anything because the Automation Platform already has all of the functionality for customers to implement their own solution. An extensive example is attached to the original issue.

 

CODESYS AddOns Version
CODESYS Automation Server Connector 1.36.0.0
CODESYS Base Libraries 4.0.0.0
CODESYS SoftMotion 4.18.0.0
CODESYS Security Agent 1.3.0.0
CODESYS C Code Integration 4.0.0.0
CODESYS Core Dump 4.2.0.0
CODESYS Code Generator ARM 4.0.3.0
CODESYS Code Generator ARM64 4.0.1.0
CODESYS Code Generator Blackfin 4.0.0.0
CODESYS Code Generator Cortex M3 4.0.1.0
CODESYS Code Generator PowerPC 4.0.1.0
CODESYS Code Generator RX 4.0.0.0
CODESYS Code Generator SH 4.0.0.0
CODESYS Code Generator TIC28x 4.0.0.0
CODESYS Code Generator TriCore 4.0.1.0
CODESYS Compiler Versions Archive 4.0.0.0
CODESYS Communication 4.5.2.0
CODESYS RISC Front End 4.0.2.0
CODESYS Target Settings Export 4.0.0.0
CODESYS Trace 4.2.0.0
CODESYS IO-Link 4.3.0.0
CODESYS Safety Support 4.0.0.0
CODESYS Redundancy 4.2.0.0
CODESYS NetX 4.0.0.0
CODESYS Memory Tools 4.1.0.0
CODESYS Modbus 4.4.0.0
CODESYS Ethernet Adapter 4.2.0.0
CODESYS EtherCAT 4.9.0.0
CODESYS CANopen 4.3.0.0
CODESYS EDS Import 4.2.0.0
CODESYS EtherNetIP 4.7.1.0
CODESYS PROFIBUS 4.1.1.0
CODESYS SAE J1939 4.2.0.0
CODESYS PROFINET 4.6.0.0
CODESYS Scripting 4.1.0.0
CODESYS Recipes 4.5.0.0
CODESYS Embedded Runtime Extension 4.1.0.0
CODESYS Device Reader 4.0.0.0
CODESYS Visualization Support 4.5.0.0
CODESYS Visualization 4.7.0.0
CODESYS CFC 4.4.0.0
CODESYS Application Composer 4.3.2.0
CODESYS LD FBD 4.6.0.0
CODESYS SFC 4.4.0.0
CODESYS Ladder 1.1.0.0
CODESYS Usage Analysis 1.2.0.0
CODESYS String Libraries 4.0.0.0
CODESYS Library Dependency Inspection 1.1.0.0