tcalmant / ipopo

iPOPO: a Service-Oriented Component Model for Python
https://ipopo.readthedocs.io/
Apache License 2.0
69 stars 28 forks source link

RequiresVarFilter doesn't update bindings #119

Closed tcalmant closed 1 year ago

tcalmant commented 1 year ago

When updating a property used in the filter of a RequiresVarFilter decorator on an invalid component instance, the bindings and the component lifecycle are not updated.

Current workaround: update pelix.ipopo.handlers.requiresvarfilter::_VariableMixIn::_reset to call self._ipopo_instance.update_bindings() after self.start() and self._ipopo_instance.check_lifecycle() after the bindings for loop.