View Issue Details

IDProjectCategoryView StatusLast Update
000148210000-011: Historical Accesspublic2012-02-10 17:03
ReporterPaul Hunkar Assigned ToRod Stein  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Fixed in Version1.02 
Summary0001482: UpdateEventDetails and default values
Description

The UpdateEventDetails Section describes that a historian may provide suitable default values for event fields that are being inserted. We should provide a mechanism by which a historian can expose these default values to a client (many be a different property that could be read – similar to the filter property) without this information it may be next to impossible to successfully insert an event – a client would have to just repeatedly try inserts and handle the various errors that could result. This is especially true since the fields that are part of an event (i.e. stored for the event) may be difficult to determine.

TagsNo tags attached.
Commit Version
Fix Due Date

Activities

Rod Stein

2011-03-17 14:14

developer   ~0002470

General Solution for 6.7.4.2:

It can be difficult to determine which fileds are required in a Historical EvnetInsert call. To allow a client to determine what fields are required for historical event inserts the following parameters can be used in a call to ask the Server for what is required.

If you pass the EventType, and NULL for all other fields you will get back an error code (Good_DataIgnored) for each field that is required.

Error code mapping
Historian has a default value Good
The field is required Bad_ArgumentMissing
The filed isn't supported Good_DataIgnored

Rod Stein

2011-04-25 19:06

developer   ~0002637

Added text stating how to determine what fields are required, have valid defaults, and are not supported for the EventType given.

Randy Armstrong

2011-05-23 16:17

administrator   ~0002729

Discussed in Walldorf

Issue History

Date Modified Username Field Change
2011-02-08 08:23 Paul Hunkar New Issue
2011-02-08 09:46 Randy Armstrong Status new => assigned
2011-02-08 09:46 Randy Armstrong Assigned To => Rod Stein
2011-03-17 14:14 Rod Stein Note Added: 0002470
2011-04-25 19:06 Rod Stein Status assigned => resolved
2011-04-25 19:06 Rod Stein Resolution open => fixed
2011-04-25 19:06 Rod Stein Note Added: 0002637
2011-05-23 16:17 Randy Armstrong Status resolved => closed
2011-05-23 16:17 Randy Armstrong Note Added: 0002729
2012-02-10 17:03 Jim Luth Fixed in Version => 1.02