# HG changeset patch # User Goffi # Date 1665069741 -7200 # Node ID 6c36eb30afb85e49e64d700b1e9fe917b968e4e2 # Parent 328869756cf414b175b994dd9f1ea4f31e174aa1 plugin lists: fix deserialisation on listSet diff -r 328869756cf4 -r 6c36eb30afb8 sat/plugins/plugin_misc_lists.py --- a/sat/plugins/plugin_misc_lists.py Thu Oct 06 16:02:05 2022 +0200 +++ b/sat/plugins/plugin_misc_lists.py Thu Oct 06 17:22:21 2022 +0200 @@ -321,10 +321,10 @@ list_elt = extra["element"] = domish.Element((APP_NS_TICKETS, "list")) list_elt["type"] = field_type - def _set(self, service, node, values, schema=None, item_id=None, extra='', + def _set(self, service, node, values, schema=None, item_id=None, extra_s='', profile_key=C.PROF_KEY_NONE): client, service, node, schema, item_id, extra = self._s.prepareBridgeSet( - service, node, schema, item_id, extra, profile_key + service, node, schema, item_id, data_format.deserialise(extra_s), profile_key ) d = defer.ensureDeferred(self.set( client, service, node, values, schema, item_id, extra, deserialise=True