From 3a3c3c2e7de466fdabededd0c3d866f98e2492a0 Mon Sep 17 00:00:00 2001 From: Matteo Maiero Date: Wed, 15 Nov 2023 13:45:07 +0100 Subject: [PATCH] fix: wire record query unbind error (#4983) * fix: WireRecordQuery unbind error on deactivate Signed-off-by: MMaiero * fix: added missing deactivate in store query Signed-off-by: MMaiero --------- Signed-off-by: MMaiero (cherry picked from commit 23e9d926a7b3c0fbcbd6696ba8fa52023bef7294) --- .../OSGI-INF/WireRecordQueryComponent.xml | 3 +-- .../OSGI-INF/WireRecordStoreComponent.xml | 3 +-- .../kura/internal/wire/query/WireRecordQueryComponent.java | 6 ++++++ 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/kura/org.eclipse.kura.wire.db.component.provider/OSGI-INF/WireRecordQueryComponent.xml b/kura/org.eclipse.kura.wire.db.component.provider/OSGI-INF/WireRecordQueryComponent.xml index 15c307c6975..28663b85517 100644 --- a/kura/org.eclipse.kura.wire.db.component.provider/OSGI-INF/WireRecordQueryComponent.xml +++ b/kura/org.eclipse.kura.wire.db.component.provider/OSGI-INF/WireRecordQueryComponent.xml @@ -35,8 +35,7 @@ cardinality="1..1" interface="org.eclipse.kura.wire.WireHelperService" name="WireHelperService" - policy="static" - unbind="unbindWireHelperService"/> + policy="static"/> + policy="static"/> properties) { logger.debug("Updating Wire Record Query component... Done"); } + + protected void deactivate() { + logger.debug("Deactivating Wire Record Query Component..."); + + logger.debug("Deactivating Wire Record Query Component... Done"); + } @Override public void consumersConnected(final Wire[] wires) {