opensensorhub / osh-core

OpenSensorHub Core Modules
http://docs.opensensorhub.org
Mozilla Public License 2.0
32 stars 16 forks source link

ProcedureDriverTransactionHandler does not properly handle FoiEvent in v2 #180

Closed csdillard closed 3 years ago

csdillard commented 3 years ago

FoiEvent extends ProcedureEvent, so the "else if" clause in ProcedureDriverTransactionHandler.handleEvent(...) never gets called.

This prevents FOIs from being registered from FoiEvents.

codemanyak commented 3 years ago

So the FoiEvent check should simply be done prior to the ProcedureEvent check (exchange if and else if), obviously.

alexrobin commented 3 years ago

Fixed in branch v2 with f219159