View Issue Details

IDProjectCategoryView StatusLast Update
0005791CTT UA Binary2 - CTT Binarypublic2022-08-02 19:00
ReporterJochen Baier Assigned ToAlexander Allmendinger  
PrioritynormalSeverityminorReproducibilityalways
Status assignedResolutionopen 
Summary0005791: UaSBytes.toString() changed: Version: 1.3.341.390: "Size: 1 [0] = 97" - Version: 1.4.9.397: "Size: 1 [0] = a"
Description

UaSBytes.toString() returns
with version 1.3.341.390 : "Size: 7 [0] = 97|[1] = -128|[2] = 98|[3] = -68|[4] = 99|[5] = -92|[6] = 100"
with version 1.4.9.396 : "Size: 7 [0] = a|[1] = |[2] = b|[3] = ¼|[4] = c|[5] = ¤||[6] = d"

with later version the sbyte numbers are now converted to chars.

Steps To Reproduce

script:

var sbytesArray = new UaSBytes();
sbytesArray[0]=97;
sbytesArray[1]=0x80;
sbytesArray[2]=98;
sbytesArray[3]=0xBC;
sbytesArray[4]=99;
sbytesArray[5]=0xA4;
sbytesArray[6]=100;

var asString=sbytesArray.toString();
Assert.CoercedEqual("Size: 7 [0] = 97|[1] = -128|[2] = 98|[3] = -68|[4] = 99|[5] = -92|[6] = 100", asString);

TagsNo tags attached.
Files Affected

Activities

Paul Hunkar

2020-07-10 15:18

administrator   ~0012584

Discussed in CMP Call
The stack changed and as a result the ToString function for this type is performing a different mapping - need to investigate this change

Issue History

Date Modified Username Field Change
2020-07-10 09:32 Jochen Baier New Issue
2020-07-10 15:18 Paul Hunkar Note Added: 0012584
2020-07-10 15:19 Paul Hunkar Assigned To => Alexander Allmendinger
2020-07-10 15:19 Paul Hunkar Status new => assigned
2022-08-02 19:00 Paul Hunkar Project Compliance Test Tool (CTT) Unified Architecture => CTT UA Binary