View Issue Details

IDProjectCategoryView StatusLast Update
0005185Compliance Test Tool (CTT) Unified ArchitectureApi Changepublic2019-10-23 16:06
ReporterJim Luth Assigned ToAlexander Allmendinger  
PrioritynormalSeverityminorReproducibilityN/A
Status assignedResolutionopen 
Product Version1.04 
Summary0005185: 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.
Files Affected

Relationships

related to 0005139 closedMatthias Damm 10000-004: Services Clarification of the behaviour when specifying an invalid filter for CreateMonitoredItems (Chapter 5.12.2) 

Activities

Jim Luth

2019-10-22 21:11

administrator   ~0011135

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.

Issue History

Date Modified Username Field Change
2019-10-22 21:11 Jim Luth New Issue
2019-10-22 21:11 Jim Luth Issue generated from: 0005139
2019-10-22 21:11 Jim Luth Note Added: 0011135
2019-10-22 21:11 Jim Luth Relationship added related to 0005139
2019-10-22 21:11 Jim Luth Project 10000-004: Services => Compliance Test Tool (CTT) Unified Architecture
2019-10-22 21:11 Jim Luth Category Spec => Api Change
2019-10-23 16:06 Paul Hunkar Assigned To => Alexander Allmendinger
2019-10-23 16:06 Paul Hunkar Status new => assigned