View Issue Details

IDProjectCategoryView StatusLast Update
000703010000-005: Information ModelSpecpublic2021-10-05 16:42
ReporterJeff Harding Assigned ToJeff Harding  
PrioritynormalSeveritymajorReproducibilityalways
Status assignedResolutionreopened 
Fixed in Version1.05.00 
Summary0007030: 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 0006971 assignedJeff Harding 10000-003: Address Space ValueRank should be considered together with DataType for NodeVersion changes 

Activities

Zbynek Zahradnik

2021-06-15 15:21

developer   ~0014560

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-15 15:21

developer   ~0014561

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

David Levine

2021-06-15 15:21

developer   ~0014562

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:21

developer   ~0014563

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-06-15 15:23

developer   ~0014564

We agreed in the June 15 2021 weekly call that the description of Bit 4 "DataTypeChanged" will be modified to include ValueRank and ArrayDimensions along with the DataType.
We agreed not to add additional bits.

Need an errata for 1.04

Jeff Harding

2021-09-27 18:51

developer   ~0015033

Added ValueRank and ArrayDimensions in addition to DataType for the definition of DataTypeChange in Table 232 'ModelChangeStructureDataType'

Added Errata 1.04.11

Jim Luth

2021-10-05 16:42

administrator   ~0015125

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

Issue History

Date Modified Username Field Change
2021-06-15 15:21 Jeff Harding New Issue
2021-06-15 15:21 Jeff Harding Status new => assigned
2021-06-15 15:21 Jeff Harding Assigned To => Jeff Harding
2021-06-15 15:21 Jeff Harding Issue generated from: 0006971
2021-06-15 15:21 Jeff Harding Note Added: 0014560
2021-06-15 15:21 Jeff Harding Note Added: 0014561
2021-06-15 15:21 Jeff Harding Note Added: 0014562
2021-06-15 15:21 Jeff Harding Note Added: 0014563
2021-06-15 15:21 Jeff Harding Relationship added related to 0006971
2021-06-15 15:21 Jeff Harding Project 10000-003: Address Space => 10000-005: Information Model
2021-06-15 15:23 Jeff Harding Note Added: 0014564
2021-09-27 18:51 Jeff Harding Status assigned => resolved
2021-09-27 18:51 Jeff Harding Resolution open => fixed
2021-09-27 18:51 Jeff Harding Fixed in Version => 1.05.00
2021-09-27 18:51 Jeff Harding Note Added: 0015033
2021-10-05 16:42 Jim Luth Status resolved => feedback
2021-10-05 16:42 Jim Luth Resolution fixed => reopened
2021-10-05 16:42 Jim Luth Note Added: 0015125
2021-10-05 16:42 Jim Luth Status feedback => assigned