View Issue Details

IDProjectCategoryView StatusLast Update
0009245NodeSets, XSDs and Generated CodeApi Changepublic2023-11-29 11:52
ReporterJim Luth Assigned ToRandy Armstrong  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Target Version1.05.03 RC1Fixed in Version1.05.03 
Summary0009245: Handling of optional methods (variables) not implemented but imported from nodeset
Description

RoleType methods
AddIdentity
RemoveIdentity
AddApplication
RemoveApplication
AddEndpoint
RemoveEndpoint

have the statement:
If the Server does not allow changes to the mapping rules, then the Method is not present.

At least the roles imported from OPC UA nodeset have all optional Methods and Variables.

How should a server behave in this case.
This is a more general issue for all Variables / Methods created from Nodeset import but that do not have data source or business logic behind.

TagsNo tags attached.
Commit Version1.05.03
Fix Due Date2023-11-14

Relationships

related to 0007307 closedMatthias Damm 10000-004: Services Handling of optional methods (variables) not implemented but imported from nodeset 
related to 0008757 closedRandy Armstrong 10000-006: Mappings Nodeset scheme UAVariable Value does not define default handling 

Activities

Jim Luth

2023-11-07 18:05

administrator   ~0020293

This needs to be clarified for all methods (not specifically for Part 18) Moving to Part 4.

Matthias Damm

2023-11-07 18:05

reporter   ~0020294

Need a discussion in F2F

I saw at the IOP that all server that load NS0 from Nodeset have the same problem. They expose many Methods that return errors like BadNotImplemented and have Variables with Value NULL / Good Status

Matthias Damm

2023-11-07 18:05

reporter   ~0020295

In Part 6 we added the following statement in nodeset XML schema (F.8 UAVariable):
If a Value is not provided and a UANodeSet is used to initialize a Server AddressSpace then the Server shall report a StatusCode of Bad_WaitingForInitialData or choose a default Value consistent with the DataType and ValueRank.

In Part 4, we have the following statement in 7.11.5 StatusCode assigned to a value:
If the Server has no known value - in particular when Severity is BAD, it shall return a NULL value.

This does not say explicit that NULL value and Good Status is not allowed.
It would be good if we would clarify this consistent in the same release.

Matthias Damm

2023-11-07 18:05

reporter   ~0020296

Discussion in WG meeting:
Define a new deticated status code in Part 4
Update description in 7.11.5 to state that either a default value is provided or NULL with the new status code.

Matthias Damm

2023-11-07 18:05

reporter   ~0020297

Added status code
Bad_NoInitialData
There is no initial data available.
The status is used if a Variable is created and no default value or no initial value is available.

Added clarification to description in 7.11.5:
If the related DataType is not BaseDataType, the Severity shall be BAD if the value is NULL. If a Variable is created and no default value or initial value is available, the StatusCode shall be Bad_NoInitialData.

Jim Luth

2023-11-07 18:06

administrator   ~0020298

Add Bad_NoValue to nodeset.

Randy Armstrong

2023-11-16 02:55

administrator   ~0020366

Added new StatusCode.

Jim Luth

2023-11-28 17:51

administrator   ~0020436

Agreed to changes in Web Meeting.

Issue History

Date Modified Username Field Change
2023-11-07 18:05 Jim Luth New Issue
2023-11-07 18:05 Jim Luth Status new => assigned
2023-11-07 18:05 Jim Luth Assigned To => Randy Armstrong
2023-11-07 18:05 Jim Luth Issue generated from: 0007307
2023-11-07 18:05 Jim Luth Note Added: 0020293
2023-11-07 18:05 Jim Luth Note Added: 0020294
2023-11-07 18:05 Jim Luth Note Added: 0020295
2023-11-07 18:05 Jim Luth Note Added: 0020296
2023-11-07 18:05 Jim Luth Note Added: 0020297
2023-11-07 18:05 Jim Luth Relationship added related to 0007307
2023-11-07 18:06 Jim Luth Note Added: 0020298
2023-11-07 18:06 Jim Luth Commit Version => 1.05.03
2023-11-07 18:06 Jim Luth Fix Due Date => 2023-11-15
2023-11-07 18:06 Jim Luth Project 10000-004: Services => NodeSets, XSDs and Generated Code
2023-11-07 18:06 Jim Luth Category Spec => Api Change
2023-11-14 16:26 Randy Armstrong Target Version => 1.05.03 RC1
2023-11-14 16:26 Randy Armstrong Fix Due Date 2023-11-15 => 2023-11-14
2023-11-16 02:55 Randy Armstrong Status assigned => resolved
2023-11-16 02:55 Randy Armstrong Resolution open => fixed
2023-11-16 02:55 Randy Armstrong Note Added: 0020366
2023-11-28 17:51 Jim Luth Status resolved => closed
2023-11-28 17:51 Jim Luth Fixed in Version => 1.05.03
2023-11-28 17:51 Jim Luth Note Added: 0020436
2023-11-29 11:52 Matthias Damm Relationship added related to 0008757