View Issue Details

IDProjectCategoryView StatusLast Update
000797310000-200: Industrial Automation - BasicsSpecpublic2022-06-21 07:36
ReporterThomas Wirtz-Baumann Assigned ToWolfgang Mahnke  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Summary0007973: NumberInList of StackElementType is defined as writable in the Nodeset file
Description

In the definition of StackElementType, there is the property NumberInList which comes from the interface IOrderedObjectType. The interface IOrderedObjectType defines that this property is read only. But looking at the definition of StackElementType into the nodeset file https://github.com/OPCFoundation/UA-Nodeset/blob/UA-1.04.10-2021-09-15/IA/Opc.Ua.IA.NodeSet2.xml (line 1344), the property NumberInList is writable, access level is 3 (line 1365):

<UAVariable NodeId="ns=1;i=6015" BrowseName="NumberInList" ParentNodeId="ns=1;i=1005" DataType="UInteger" AccessLevel="3">

The Part 200 does not give any reason why this has been made writable, and in the amendment 13 is stating that two objects in the list shall never have the same value of NumberInList, but if writable, it will be impossible to ensure.

Either there is a good reason for that and the IA spec shall state it explicitly or the model file and resulting nodeset shall be fixed.

Steps To Reproduce

Open the nodeset file https://github.com/OPCFoundation/UA-Nodeset/blob/UA-1.04.10-2021-09-15/IA/Opc.Ua.IA.NodeSet2.xml and check line 1365

Additional Information

Original discussion here: https://opcfoundation.org/forum/opc-ua-standard/part-200-stackelementtype-numberinlist-is-writable/#p3882

TagsNo tags attached.
Commit Version

Activities

Wolfgang Mahnke

2022-06-13 14:00

manager   ~0016826

In general, the AccessLevel of the InstanceDeclaration does not force the AccessLevel of an Instance. But in order to avoid confusion, we will change the NodeSet-File.

Wolfgang Mahnke

2022-06-21 07:35

manager   ~0016925

Fixed in Version 1.01.2

Issue History

Date Modified Username Field Change
2022-05-05 05:33 Thomas Wirtz-Baumann New Issue
2022-06-13 13:56 Wolfgang Mahnke Assigned To => Wolfgang Mahnke
2022-06-13 13:56 Wolfgang Mahnke Status new => assigned
2022-06-13 14:00 Wolfgang Mahnke Note Added: 0016826
2022-06-21 07:35 Wolfgang Mahnke Status assigned => resolved
2022-06-21 07:35 Wolfgang Mahnke Resolution open => fixed
2022-06-21 07:35 Wolfgang Mahnke Note Added: 0016925
2022-06-21 07:36 Wolfgang Mahnke Status resolved => closed