Commit 63f2a7f8 authored by Jérome Perrin's avatar Jérome Perrin

asRecordedContext: use _edit, because user might not have necessary permissions to call edit

parent 12452c35
......@@ -125,7 +125,7 @@ class PropertyRecordableMixin:
which recorded properties in its context.
"""
context = self.asContext()
context.edit(**self._getRecordedPropertyDict({}))
context._edit(**self._getRecordedPropertyDict({}))
return context
def _getRecordedPropertyDict(self, *args):
......
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