View Issue Details

IDProjectCategoryView StatusLast Update
0009572CTT UA Scripts1 - Script Issuepublic2024-09-30 06:39
ReporterMartin Lang Assigned ToMichael Fehler  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version1.04.506 
Summary0009572: Monitor Value Change Test Cases 024.js + 026.js + 028.js does not respect CTT configured max string length
Description

maintree\Monitored Item Services\Monitor Value Change\Test Cases\024.js + 026.js + 028.js

  • Script does not respect the CTT configured MaxStringLength
  • After line 11/12 (after var initialValue = WriteService.GenerateString( { nodeId: item.NodeId } );) the fix could be: initialValue = initialValue.substring( 0, maxStringLen );

No additional property at the string variable node is attached.
Server Object -> Server Capapilities -> MaxStringLength: Node not available since it is optional.

TagsNo tags attached.
Files Affected

/library/Base/serverCapabilities.js

Activities

Paul Hunkar

2024-07-04 16:01

administrator   ~0021418

when you have string variable then the MaxStringLength capability is required to be provided (it could also be overridden by a property on a specific variable). We will check the CTT logic to ensure these test cases do follow this formula - max string = CTT configuration, if capability provided - overwrite with capability, if property provided over write with property.

Issue History

Date Modified Username Field Change
2024-06-04 14:32 Martin Lang New Issue
2024-07-04 16:01 Paul Hunkar Note Added: 0021418
2024-07-04 16:01 Paul Hunkar Assigned To => Alexander Allmendinger
2024-07-04 16:01 Paul Hunkar Status new => assigned
2024-09-10 08:59 Michael Fehler Assigned To Alexander Allmendinger => Michael Fehler
2024-09-30 06:39 Michael Fehler Files Affected => /library/Base/serverCapabilities.js
2024-09-30 06:39 Michael Fehler Status assigned => resolved
2024-09-30 06:39 Michael Fehler Resolution open => fixed