View Issue Details

IDProjectCategoryView StatusLast Update
0004362CTT UA Scripts1 - Script Issuepublic2022-08-02 20:03
Reporter17zhangw Assigned ToAlexander Allmendinger  
PrioritynormalSeverityminorReproducibilityalways
Status assignedResolutionopen 
Summary0004362: Node Management Add Node 003.js incorrect request parameters per spec
Description

As per the 1.03 specs for AddNodes Service concerning the typeDefinition:
"NodeId of the TypeDefinitionNode for the Node to add. This parameter shall be null for all NodeClasses other than Object and Variable in which case it shall be provided."

The switch case for creating nodes of type DataType, Method, ObjectType, ReferenceType, VariableType, and View erroneously have a typeDefinition defined. Furthermore, the parameters for adding Method have "ReferenceTypeId: new UaNodeId( Identifier.MethodNode )" which is not a valid reference.

TagsNo tags attached.
Files Affected

Activities

Paul Hunkar

2018-08-10 12:20

administrator   ~0009298

This script needs to be updated to handle all of the types correctly, it appears that only the object and Variable classes are handled correctly.

Issue History

Date Modified Username Field Change
2018-08-07 08:43 17zhangw New Issue
2018-08-10 12:20 Paul Hunkar Note Added: 0009298
2018-08-10 12:21 Paul Hunkar Target Version => 1.03
2018-08-10 12:21 Paul Hunkar Assigned To => Alexander Allmendinger
2018-08-10 12:21 Paul Hunkar Status new => assigned
2019-01-28 14:10 Paul Hunkar Category Script Issue => 1 - Script Issue
2022-08-02 20:03 Paul Hunkar Project Compliance Test Tool (CTT) Unified Architecture => CTT UA Scripts