View Issue Details

IDProjectCategoryView StatusLast Update
0004430Compliance Test Tool (CTT) Unified Architecture1 - Script Issuepublic2019-07-25 15:15
ReporterAlexander Allmendinger Assigned ToAlexander Allmendinger  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version1.03.340.380 
Target Version1.03Fixed in Version1.03.341.383 
Summary0004430: Monitor Value Change / 015: Fails for Gateways
Description

On the wire a ByteArray always becomes a ByteString. Therefore the recipient of the telegram can’t gain the information if it was a ByteArray or ByteString directly from the message. But both sides do have the opportunity to get the information in an additional step. The client needs to read additional attributes like the DataType Attribute of the Node. With this additional information the client does know that it is receive a ByteString which initially was a ByteArray and can transform it back. The server on the other side needs to check its own address space whether the desired node is a ByteArray or a ByteString and then transform the value to match the expected Datatype. This is the mandated behavior by the spec for the handling of ByteArrays and ByteString.
Unfortunately in the case of the Gateway like you are using it, it is exactly this step that can’t be done. Because the Gateway is only transmitting the request from UA to Classic and the Gateway doesn’t have the information of the actual Datatype that is going to be written, it can only transmit it to a ByteString in classic and sending the write call which then will be answered with the Bad_TypeMismatch. Therefore this OperationResult makes sense and is acceptable from a compliance point of view.

TagsNo tags attached.
Files Affected

Activities

Alexander Allmendinger

2018-12-18 08:50

developer   ~0009723

Script is now also accepting a Bad_TypeMismatch

Paul Hunkar

2019-07-25 15:15

administrator   ~0010608

Reviewed in CMP Call

Issue History

Date Modified Username Field Change
2018-10-31 10:08 Alexander Allmendinger New Issue
2018-10-31 10:08 Alexander Allmendinger Status new => assigned
2018-10-31 10:08 Alexander Allmendinger Assigned To => Alexander Allmendinger
2018-12-18 08:50 Alexander Allmendinger Note Added: 0009723
2018-12-18 08:50 Alexander Allmendinger Status assigned => resolved
2018-12-18 08:50 Alexander Allmendinger Fixed in Version => 1.03.341.383
2018-12-18 08:50 Alexander Allmendinger Resolution open => fixed
2019-01-28 14:10 Paul Hunkar Category Script Issue => 1 - Script Issue
2019-07-25 15:15 Paul Hunkar Status resolved => closed
2019-07-25 15:15 Paul Hunkar Note Added: 0010608