Commit 6ee4fdd7 authored by Vincent Pelletier's avatar Vincent Pelletier

Fix systematic breakage.

SupplyCell doesn't exist as a portal type (it's a class actually), so
asContext call always fails.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44634 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3ecaeb41
...@@ -315,7 +315,7 @@ class DomainTool(BaseTool): ...@@ -315,7 +315,7 @@ class DomainTool(BaseTool):
if value is not None: if value is not None:
mapped_value_property_dict[mapped_value_property] = value mapped_value_property_dict[mapped_value_property] = value
# Update mapped value # Update mapped value
mapped_value = mapped_value.asContext(**mapped_value_property_dict) mapped_value.edit(**mapped_value_property_dict)
return mapped_value return mapped_value
# XXX FIXME method should not be public # XXX FIXME method should not be public
......
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