View Issue Details

IDProjectCategoryView StatusLast Update
0008464CTT UA Scripts1 - Script Issuepublic2023-02-23 21:55
ReporterBernd Edlinger Assigned ToSebastian Allmendinger  
PrioritynormalSeverityminorReproducibilityalways
Status assignedResolutionopen 
Summary0008464: Base Info Type System/VariableTypesValidation.js fails unexpectedly
Description

Observed with Compliance Test Tool V1.04.11-01.00.501

The script error is wrong:
Error: Attribute 'Value' type mismatch (Position 12)
Expected: <Invalid Attribute> but got <EventNotifier>
Error: Attribute 'Value' type mismatch (Position 12)
Expected: <Invalid Attriubte> but got <ValueRank>

The error seems to be caused by
ns=0:i=69 (OpcUaId_DataTypeDescriptionType)
which returns a hard-coded Null-String
and
ns=0:i=72 (OpcUaId_DataTypeDictionaryType)
which returns a hard-coded Null-ByteString

we think that is deprecated but allowed to
have the Type Object in the namespace,
also the Nodeset XML says
<UAVariableType NodeId="i=69" BrowseName="DataTypeDescriptionType" DataType="String">
and
<UAVariableType NodeId="i=72" BrowseName="DataTypeDictionaryType" DataType="ByteString">

TagsNo tags attached.
Files Affected

Activities

Paul Hunkar

2023-01-26 18:00

administrator   ~0018600

Fix the error message to display the correct text - then we would like to have the issue reproduced so we can look at it

Sebastian Allmendinger

2023-01-27 08:09

developer   ~0018602

The validations fail because the server returns a NULL-(Byte)String instead of a NULL-Variant.
The CTT uses BaseDataType as DataType for the Value attribute. If the server returns a NULL-Variant, the test script skips the validation.

image.png (14,652 bytes)   
image.png (14,652 bytes)   

Alexander Allmendinger

2023-02-23 21:55

developer   ~0018794

Partially addressed in: 1.03.502
Fixed the error output to print the actual attribute and NodeId.
Integrated a workaround which excludes the verification of the Value attribute on VariableTypes.

Issue History

Date Modified Username Field Change
2022-11-25 14:41 Bernd Edlinger New Issue
2023-01-26 17:59 Paul Hunkar Assigned To => Sebastian Allmendinger
2023-01-26 17:59 Paul Hunkar Status new => assigned
2023-01-26 18:00 Paul Hunkar Note Added: 0018600
2023-01-26 18:01 Paul Hunkar Project Compliance Test Tool (CTT) Unified Architecture => CTT UA Scripts
2023-01-27 08:09 Sebastian Allmendinger Note Added: 0018602
2023-01-27 08:09 Sebastian Allmendinger File Added: image.png
2023-02-23 21:55 Alexander Allmendinger Note Added: 0018794