View Issue Details

IDProjectCategoryView StatusLast Update
0005552Compliance Test Tool (CTT) Unified Architecture1 - Script Issuepublic2020-06-04 15:11
ReporterJochen Baier Assigned ToSebastian Allmendinger  
PrioritylowSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.03.341.390 
Fixed in Version1.03.341.396 
Summary0005552: MonitoredItem.setValue(SBytes array) fails with TypeError
Description

monitoredItem.js, function setValue(): @484:

case BuiltInType.SByte:
var x = new UaSBytes();
for( var i=0; i<newValue.length; i++ ){ x[i] = newValue[i]; }
node.Value.Value.setSByteArray( newValue ); <-- newValue is wrong here
break;

Fix:

case BuiltInType.SByte:
var x = new UaSBytes();
for( var i=0; i<newValue.length; i++ ){ x[i] = newValue[i]; }
node.Value.Value.setSByteArray(x); <-- newValue replaced with x
break;

TagsNo tags attached.
Files Affected

Activities

Sebastian Allmendinger

2020-04-09 07:44

developer   ~0011881

So far the standard scripts have not used this function with an SByte Array, so it has not been noticed. Fixed as suggested.

Paul Hunkar

2020-06-04 15:11

administrator   ~0012185

reviewed in CMP call

Issue History

Date Modified Username Field Change
2020-03-24 10:32 Jochen Baier New Issue
2020-03-30 13:40 Paul Hunkar Assigned To => Alexander Allmendinger
2020-03-30 13:40 Paul Hunkar Status new => assigned
2020-04-09 07:44 Sebastian Allmendinger Assigned To Alexander Allmendinger => Sebastian Allmendinger
2020-04-09 07:44 Sebastian Allmendinger Status assigned => resolved
2020-04-09 07:44 Sebastian Allmendinger Resolution open => fixed
2020-04-09 07:44 Sebastian Allmendinger Fixed in Version => 1.03.341.396
2020-04-09 07:44 Sebastian Allmendinger Note Added: 0011881
2020-06-04 15:11 Paul Hunkar Status resolved => closed
2020-06-04 15:11 Paul Hunkar Note Added: 0012185