View Issue Details

IDProjectCategoryView StatusLast Update
0009572CTT UA Scripts1 - Script Issuepublic2024-09-10 08:59
ReporterMartin Lang Assigned ToMichael Fehler  
PrioritynormalSeverityminorReproducibilityalways
Status assignedResolutionopen 
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

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