View Issue Details

IDProjectCategoryView StatusLast Update
000697110000-003: Address SpaceSpecpublic2021-10-05 16:43
ReporterZbynek Zahradnik Assigned ToJeff Harding  
PrioritynormalSeveritymajorReproducibilityalways
Status assignedResolutionfixed 
Fixed in Version1.05.00 
Summary0006971: ValueRank should be considered together with DataType for NodeVersion changes
Description

In Table 13 (Variable NodeClass) and Table 14 (VariableType NodeClass), we have following text with the NodeVersion property:

"... Attribute value changes except for the DataType Attribute do not cause the NodeVersion to change."
and a bit later
"Although the relationship of a Variable to its DataType is not modelled using References, changes to the DataType Attribute of a Variable lead to an update of the NodeVersion Property."

I think this should be extended to include the ValueRank attribute (together with DataType) as well, because the final type of the Value is given by a combination of DataType+ValueRank. At least for all my client-side usages, the ValueRank is significant. In fact, it is often more important than the data type itself; for example, a change from Integer to Byte isn't that important as a change from Integer to Integer[] (array of integers).

TagsNo tags attached.
Commit Version
Fix Due Date

Relationships

related to 0007030 assignedJeff Harding 10000-005: Information Model ValueRank should be considered together with DataType for NodeVersion changes 
related to 0007340 assignedJeff Harding 10000-003: Address Space Clarification needed for Server expectations regarding NodeVersion Properties 

Activities

Zbynek Zahradnik

2021-05-28 13:54

developer   ~0014438

If this change is accepted, then also Part 5 should change: In ModelChangeStructureDataType Structure, field 'verb' (Table 156 in 1.04), there is currently Bit 4 for DataTypeChanged: "This verb may be used only for affected Nodes that
are Variables or VariableTypes. It indicates that the DataType Attribute has changed.". We should add bit 5 for ValueRankChanged.

Jeff Harding

2021-06-14 14:27

developer   ~0014555

I agree with the logic that ValueRank should be considered in the same way DataType is.

David Levine

2021-06-15 14:11

developer   ~0014557

I agree - clients should be notified when any aspect of a Value changes - these can (and do) impact client behavior.

A change in any attribute that changes the "shape" of the data should trigger this event. This includes ValueRank, ArrayDimensions, and DataType; perhaps others, such as access rights, whether or not writes w/timestamps are supported, etc. Further, when any of these attributes change, all related attributes should be updated to the extent their new value can be ascertained.

For example,

  • if the ValueRank changes to indicate the value is an array, the ArrayDimensions attribute should be updated to reflect the maximum length for all dimensions which are known.
  • if the UA server "knows" that the max array length has changed, it should update the value in the ArrayDimensions and trigger this event.

This feature should be supported by a CU or facet that verifies this,

Jeff Harding

2021-06-15 15:16

developer   ~0014559

We agreed in the June 15 2021 weekly call that a change to ValueRank and ArrayDimensions should also be considered in the same way as a DataType change.

Need an errata for 1.04.

Jeff Harding

2021-09-27 18:49

developer   ~0015032

Added ValueRank and ArrayDimensions in addition to DataType in Table 13 'Variable NodeClass' and Table 14 'VariableType NodeClass'

Added Errata 1.04.11

Jim Luth

2021-10-05 16:43

administrator   ~0015126

Need to look at the bigger picture before committing to this solution.

Issue History

Date Modified Username Field Change
2021-05-28 11:23 Zbynek Zahradnik New Issue
2021-05-28 13:54 Zbynek Zahradnik Note Added: 0014438
2021-06-14 14:27 Jeff Harding Note Added: 0014555
2021-06-15 14:11 David Levine Note Added: 0014557
2021-06-15 15:16 Jeff Harding Note Added: 0014559
2021-06-15 15:21 Jeff Harding Issue cloned: 0007030
2021-06-15 15:21 Jeff Harding Relationship added related to 0007030
2021-06-15 15:24 Jeff Harding Assigned To => Jeff Harding
2021-06-15 15:24 Jeff Harding Status new => assigned
2021-09-27 18:49 Jeff Harding Status assigned => resolved
2021-09-27 18:49 Jeff Harding Resolution open => fixed
2021-09-27 18:49 Jeff Harding Fixed in Version => 1.05.00
2021-09-27 18:49 Jeff Harding Note Added: 0015032
2021-10-04 18:26 Jeff Harding Relationship added related to 0007340
2021-10-05 16:43 Jim Luth Status resolved => assigned
2021-10-05 16:43 Jim Luth Note Added: 0015126