From eee9ff2f5410fbecdb924ba7011b7c53f6e7c0b6 Mon Sep 17 00:00:00 2001 From: Steve Paras-Charlton Date: Wed, 28 Aug 2024 03:21:16 -0600 Subject: [PATCH] ZEN-35045: don't let a failed callable update cause all object updates be lost --- Products/DataCollector/ApplyDataMap/datamaputils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Products/DataCollector/ApplyDataMap/datamaputils.py b/Products/DataCollector/ApplyDataMap/datamaputils.py index d3f8a52ab7..cf24375e2e 100644 --- a/Products/DataCollector/ApplyDataMap/datamaputils.py +++ b/Products/DataCollector/ApplyDataMap/datamaputils.py @@ -226,7 +226,7 @@ def _update_object(obj, diff): if attr is MISSINGNO: continue elif callable(attr): - changed = _update_callable_attribute(attr, value) + changed |= _update_callable_attribute(attr, value) else: if attr != value: setattr(obj, attrname, value)