View Issue Details

IDProjectCategoryView StatusLast Update
000418810000-004: ServicesSpecpublic2021-03-05 16:03
ReporterMatthias Damm Assigned ToMatthias Damm  
PrioritynormalSeverityfeatureReproducibilityhave not tried
Status closedResolutionfixed 
Summary0004188: No operator to handle Event fields with Bad StatusCode
Description

Event fields can provide a value, can be NULL or can contain a StatusCode instead of the value for Mandatory Event fields if the value is not available.

We have currently no FilterOperator that is able to handle the case with the status code e.g. IsBadStatus

TagsNo tags attached.
Commit Version
Fix Due Date

Relationships

related to 0004159 closedMatthias Damm Clarification for behavior of FilterOperators in case of error 

Activities

Matthias Damm

2020-06-16 16:06

developer   ~0012347

Check if this can be done with existing operators e.g. cast and bitwiseor/and

Matthias Damm

2021-03-03 13:00

developer   ~0013926

bitwiseor/and can be used to check the severity of a status code but there is no way to evaluate the DataType of a value. Therefore it is not possible to find out if a Event Field contains a StatusCode.

Jim Luth

2021-03-03 18:54

administrator   ~0013942

Needs 1.03 and 1.04 Errata

Matthias Damm

2021-03-04 21:31

developer   ~0013984

Table 122 – Basic FilterOperator definition
Operator IsNull
Added:
TRUE If the value in operand[0] is a StatusCode instead of the field DataType.

Table 125 – Conversion rules
Source Type StatusCode
Changed all (I)mplicit conversion to (E)xplicit.

Add to StatusCode below the table:
Since Event fields can have a StatusCode instead of the expected DataType, a StatusCode can only be converted to an integer with an explicit conversion.

Added in
OPC 10000-4 - UA Specification Part 4 - Services 1.05.0 Draft15.docx

Jim Luth

2021-03-05 16:03

administrator   ~0013998

Agreed to changes 1.05 and Errata 1.04 and Errata 1.03 in Virtual F2F.

Issue History

Date Modified Username Field Change
2018-03-04 07:59 Matthias Damm New Issue
2018-08-14 16:54 Jim Luth Assigned To => Matthias Damm
2018-08-14 16:54 Jim Luth Status new => assigned
2020-06-16 16:05 Matthias Damm Relationship added related to 0004159
2020-06-16 16:06 Matthias Damm Note Added: 0012347
2021-03-03 13:00 Matthias Damm Note Added: 0013926
2021-03-03 18:54 Jim Luth Note Added: 0013942
2021-03-04 21:31 Matthias Damm Status assigned => resolved
2021-03-04 21:31 Matthias Damm Resolution open => fixed
2021-03-04 21:31 Matthias Damm Note Added: 0013984
2021-03-05 16:03 Jim Luth Status resolved => closed
2021-03-05 16:03 Jim Luth Fixed in Version => 1.05
2021-03-05 16:03 Jim Luth Note Added: 0013998