Commit 0afc6d61 authored by Jérome Perrin's avatar Jérome Perrin

we cannot use ** on a persistent mapping, cast it to dict before.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@45696 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f4d50823
...@@ -128,7 +128,7 @@ class PropertyRecordableMixin: ...@@ -128,7 +128,7 @@ class PropertyRecordableMixin:
which recorded properties in its context. which recorded properties in its context.
""" """
context = self.asContext() context = self.asContext()
context.edit(**self._getRecordedPropertyDict()) context.edit(**dict(self._getRecordedPropertyDict()))
return context return context
def _getRecordedPropertyDict(self): def _getRecordedPropertyDict(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment