View Issue Details

IDProjectCategoryView StatusLast Update
000141410000-009: Alarms and Conditionspublic2014-11-03 16:37
ReporterMatthias Damm Assigned ToPaul Hunkar  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Summary0001414: Clarification Quality / Missing event fields
Description

We need a clarification for the case where an Alarm&Condition server has only partial information about an acitive Alarm since he did just connect (first time or after an connection error). E.g. he knows that the alarm is active and unacknowledged but does not have all information for the other event fields like Time?
I assume the unknown fields are delivered as Null values but what happens with the quality?

TagsNo tags attached.
Commit Version
Fix Due Date

Activities

Randy Armstrong

2010-11-16 18:36

administrator   ~0002135

This can be handled if the server:

1) Assigns an event id that is different from the if assigned to original event.
2) Uses the current time of the underlying systems as the event time.
3) Returns a NULL field for any values which are not available.

Clients must be able to deal with NULL values for mandatory fields but servers should only do this if there is some kind of problem with the system.

The Quality property is the Quality of the source variable and is not affected by problems with missing data. i.e. it should be Good.

Matthias Damm

2010-11-16 21:12

developer   ~0002139

I mentioned already during our meeting today that we defined something in Part 4 about missing event fields.
Here is what is defined in Part 4 -> 7.16.3 EventFilter

The SimpleAttributeOperand structure is used in the selectClause to select the value to return if an
Event meets the criteria specified by the whereClause. A null value is returned in the corresponding
event field in the Publish response if the selected field is not part of the Event or an error was
returned in the selectClauseResults of the EventFilterResult. If the selected field is available but
cannot be returned to Client then the Server shall return a StatusCode that indicates the reason for
the error. For example, the Server shall return a Bad_UserAccessDenied error if the value is not
accessible to the user associated with the Session. If a Value Attribute has an uncertain or bad
StatusCode associated with it then the Server shall return the StatusCode instead of the Value.

This definition clearly states that the server shall return a StatusCode instead of the value if the value is not available.

Paul Hunkar

2011-09-16 00:45

developer   ~0003016

for fields that are supported, but not currently available a status code is returned

Paul Hunkar

2012-01-12 19:34

developer   ~0003184

Added error code Bad_NoCommunication

Jim Luth

2012-01-12 19:38

administrator   ~0003185

Reviewed and accepted change in Boca meeting (after final editing in the meeting).

Issue History

Date Modified Username Field Change
2010-11-16 16:51 Matthias Damm New Issue
2010-11-16 18:36 Randy Armstrong Note Added: 0002135
2010-11-16 18:36 Randy Armstrong Status new => assigned
2010-11-16 18:36 Randy Armstrong Assigned To => Paul Hunkar
2010-11-16 21:12 Matthias Damm Note Added: 0002139
2011-09-16 00:45 Paul Hunkar Note Added: 0003016
2012-01-12 19:34 Paul Hunkar Status assigned => resolved
2012-01-12 19:34 Paul Hunkar Resolution open => fixed
2012-01-12 19:34 Paul Hunkar Note Added: 0003184
2012-01-12 19:38 Jim Luth Status resolved => closed
2012-01-12 19:38 Jim Luth Note Added: 0003185