Mercurial > libervia-backend
diff sat/plugins/plugin_misc_lists.py @ 3928:6c36eb30afb8
plugin lists: fix deserialisation on listSet
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 06 Oct 2022 17:22:21 +0200 |
parents | 5f65f4e9f8cb |
children | 0a6d4168968a |
line wrap: on
line diff
--- 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