View Issue Details

IDProjectCategoryView StatusLast Update
0007859Compliance Test Tool (CTT) Unified Architecture1 - Script Issuepublic2022-08-04 15:11
ReporterA. Riedel Assigned ToPaul Hunkar  
PrioritynormalSeverityminorReproducibilityN/A
Status closedResolutionno change required 
Product Version1.04.09.401 
Summary0007859: WriteService.GenerateString() not recognising MaxStringLength property
Description

When testing our server, some tests that generate strings based on MaxStringLength fail due to the tested variable having a smaller MaxStringLength than the server capabilities specify:

  • Base Information / Base Info Server Capabilities / 006.js
  • Monitored Item Services / Monitor Value Change / 024.js, 026.js, 028.js

All these tests use WriteService.GenerateString() to provide a string. The tested variable has its own MaxStringLength property, but GenerateString does not recognise this because it only checks for a BrowseName of "0:MaxStringLength".
The server currently generates the variable property in the same namespace as the variable itself, i. e. with the BrowseName "4:MaxStringLength".

I am not sure whether the server or WriteService.GenerateString() is incorrect as I could only find relatively vague information about this searching the specification:

1.04 Part 5 6.3.2 and 1.04 Part 3 5.6.2 don't mention the namespace index of the property.
1.04 Part 3 3.3.2 includes following paragraph "This standard defines Properties, but Properties can be defined by other standard organizations or vendors and Nodes can have Properties that are not standardised. Properties defined in this standard are defined by their name, which is mapped to the BrowseName having the NamespaceIndex 0, which represents the Namespace for OPC UA."

Does this mean the MaxStringLength property of the string variable has to be in namespace 0? If not, then WriteService.GenerateString() needs to check for other namespaces than 0 as well.

TagsNo tags attached.
Files Affected

Activities

Paul Hunkar

2022-03-24 15:52

administrator   ~0016452

The namespace for MaxStringLength needs to be Namespace 0 always

Paul Hunkar

2022-08-04 15:11

administrator   ~0017283

No change required

Paul Hunkar

2022-08-04 15:11

administrator   ~0017284

No change required - agreed in CMP call

Issue History

Date Modified Username Field Change
2022-03-14 12:08 A. Riedel New Issue
2022-03-24 15:52 Paul Hunkar Assigned To => Paul Hunkar
2022-03-24 15:52 Paul Hunkar Status new => feedback
2022-03-24 15:52 Paul Hunkar Note Added: 0016452
2022-08-04 15:11 Paul Hunkar Status feedback => resolved
2022-08-04 15:11 Paul Hunkar Resolution open => no change required
2022-08-04 15:11 Paul Hunkar Note Added: 0017283
2022-08-04 15:11 Paul Hunkar Status resolved => closed
2022-08-04 15:11 Paul Hunkar Note Added: 0017284