View Issue Details

IDProjectCategoryView StatusLast Update
0005791CTT UA Binary2 - CTT Binarypublic2024-11-15 10:48
ReporterJochen Baier Assigned ToAlexander Allmendinger  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionno change required 
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

Jochen Baier

2024-11-14 12:33

reporter   ~0022060

old behavior with 1.04.11-01.00.508 like 1.3.341.390. Ticket can be closed

Alexander Allmendinger

2024-11-15 10:48

developer   ~0022065

Creator of the ticket has reported that with the current release this issue has disappeared.
No further changes are required.

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
2024-11-14 12:33 Jochen Baier Note Added: 0022060
2024-11-15 10:48 Alexander Allmendinger Status assigned => resolved
2024-11-15 10:48 Alexander Allmendinger Resolution open => no change required
2024-11-15 10:48 Alexander Allmendinger Note Added: 0022065