From 73da133b7793f16d201364576d7115108f548e3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ferm=C3=ADn=20Gal=C3=A1n=20M=C3=A1rquez?= Date: Fri, 26 Aug 2022 09:02:44 +0200 Subject: [PATCH] FIX logic in processOnChangeConditionForUpdateContext --- src/lib/mongoBackend/MongoCommonUpdate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/mongoBackend/MongoCommonUpdate.cpp b/src/lib/mongoBackend/MongoCommonUpdate.cpp index a3a2203e35..e97681dbb3 100644 --- a/src/lib/mongoBackend/MongoCommonUpdate.cpp +++ b/src/lib/mongoBackend/MongoCommonUpdate.cpp @@ -1832,7 +1832,7 @@ static bool processOnChangeConditionForUpdateContext { for (unsigned int jx = 0; jx < attrL.size(); jx++) { - if (caP->name == attrL[jx] && !caP->skip) + if (caP->name == attrL[jx]) { /* Note we use cloneCompound=true in the ContextAttribute constructor. This is due to * cer.entity destructor does release() on the attrs vector */