View Issue Details

IDProjectCategoryView StatusLast Update
000248110000-004: Servicespublic2013-11-25 18:41
ReporterNathan PocockAssigned ToMatthias Damm  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Fixed in Version1.03 
Summary0002481: 5.12.2.1 CreateMonitoredItems IndexRange validation clarification
Description

Section 5.12.2.1 says the following in terms of CreateMonitoredItems validation:

"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."

We have a test-case/script that uses IndexRange to test the above. Basically, the test specifies an index range that is out of range of what the node is currently defined (e.g. array size is 5, but index range = "99").

The question is this: if the array dimensions are fixed then they cannot change, in that case should a server be allowed to reject the item and return an error code (BadIndexRangeNoData etc.) as part of the response?

If the answer is yes, then the follow-on question will be if this will be a requirement that all servers behave this way (responsing to CreateMonitoredItems) or if its permissable for server to accept the request but respond with the same error code in the Publish response.

TagsNo tags attached.
Commit Version
Fix Due Date

Activities

Jim Luth

2013-06-11 16:38

administrator   ~0004723

Discussed in telecom - agreed that both immediate return of error and on publish should be allowed based on server implementation. There would be no way to test if the server chose the "correct" place to return the error. Spec should be clarified to indicate both error return locations are allowed.

Matthias Damm

2013-09-24 21:05

developer   ~0005000

Added the following clarification to Table 66 – CreateMonitoredItems Operation Level Result Codes - Bad_IndexRangeNoData:
If the ArrayDimensions have a fixed length that can not change and no data exists within the range of indexes specified, Bad_IndexRangeNoData is returned in CreateMonitoredItems. Otherwise the Server shall return this status in the first Publish response for the MonitoredItem.

Resolved in document IEC 62541-4 - Services [Pre-CDV] 1.02.03.doc

Jim Luth

2013-11-25 18:41

administrator   ~0005148

Agreed to changes is telecon.

Issue History

Date Modified Username Field Change
2013-06-03 15:58 Nathan Pocock New Issue
2013-06-11 16:38 Jim Luth Note Added: 0004723
2013-06-11 16:38 Jim Luth Status new => assigned
2013-06-11 16:38 Jim Luth Assigned To => Matthias Damm
2013-09-24 21:05 Matthias Damm Status assigned => resolved
2013-09-24 21:05 Matthias Damm Resolution open => fixed
2013-09-24 21:05 Matthias Damm Note Added: 0005000
2013-11-25 18:41 Jim Luth Status resolved => closed
2013-11-25 18:41 Jim Luth Note Added: 0005148
2013-11-25 18:41 Jim Luth Fixed in Version => 1.03