View Issue Details

IDProjectCategoryView StatusLast Update
000513910000-004: ServicesSpecpublic2019-12-11 23:39
ReporterRobert Eichberger Assigned ToMatthias Damm  
PrioritynormalSeverityminorReproducibilityN/A
Status closedResolutionfixed 
Summary0005139: Clarification of the behaviour when specifying an invalid filter for CreateMonitoredItems (Chapter 5.12.2)
Description

In chapter 5.12.2.1 it is not clearly specified whether, in case of an invalid filter, the server must return an error code directly in the response, or whether the MonitoredItem can be created and an error code is returned in the Publish response. For the UserAccess and the IndexRange this behaviour is explicitly allowed and described in chapter 5.12.2.1.

Excerpt from the specification:
When a user adds a monitored item that the user is denied read access to, the add operation for the item shall succeed and the bad status Bad_NotReadable or Bad_UserAccessDenied shall be returned in the Publish response. This is the same behaviour for the case where the access rights are changed after the call to CreateMonitoredItems. If the access rights change to read rights, the Server shall start sending data for the MonitoredItem. The same procedure shall be applied for an IndexRange that does not deliver data for the current value but could deliver data in the future.

If there is no technical reason that the error code must be delivered directly in the response, we believe that the PublishResponse option should also be explicitly allowed.
The CTT test expects the error code directly in the response in case of an invalid filter. However, this behaviour does not take into account, that the data type of a variable node can change and the filter can therefore become valid. This use case is possible on our system and should therefore be considered.

TagsNo tags attached.
Commit Version
Fix Due Date

Relationships

related to 0005185 assignedAlexander Allmendinger Compliance Test Tool (CTT) Unified Architecture Clarification of the behaviour when specifying an invalid filter for CreateMonitoredItems (Chapter 5.12.2) 

Activities

Jim Luth

2019-10-22 16:19

administrator   ~0011134

Clarify that Servers should return errors as soon as possible (i.e. on the call return if possible) but all errors are allowed to be returned later (in publish responses).

Clone to CTT for test changes.

Matthias Damm

2019-12-11 23:38

developer   ~0011337

Added the following clarification:

Servers should return all other errors as CreateMonitoredItems results but all possible errors are allowed to be returned in the Publish response.

Jim Luth

2019-12-11 23:39

administrator   ~0011338

Agreed to changes in 1.05 draft. No 1.04 Errata required.

Issue History

Date Modified Username Field Change
2019-10-14 08:13 Robert Eichberger New Issue
2019-10-22 16:19 Jim Luth Note Added: 0011134
2019-10-22 16:19 Jim Luth Assigned To => Matthias Damm
2019-10-22 16:19 Jim Luth Status new => assigned
2019-10-22 21:11 Jim Luth Issue cloned: 0005185
2019-10-22 21:11 Jim Luth Relationship added related to 0005185
2019-12-11 23:38 Matthias Damm Status assigned => resolved
2019-12-11 23:38 Matthias Damm Resolution open => fixed
2019-12-11 23:38 Matthias Damm Note Added: 0011337
2019-12-11 23:39 Jim Luth Status resolved => closed
2019-12-11 23:39 Jim Luth Fixed in Version => 1.05
2019-12-11 23:39 Jim Luth Note Added: 0011338