Commit 291c9f6f authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

revert r.26182 because other modifications are also required for the purpose of that commit.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26192 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent cfb08892
...@@ -255,7 +255,7 @@ class DomainTool(BaseTool): ...@@ -255,7 +255,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.edit(**mapped_value_property_dict) mapped_value = mapped_value.asContext(**mapped_value_property_dict)
return mapped_value return mapped_value
# XXX FIXME method should not be public # XXX FIXME method should not be public
...@@ -312,7 +312,7 @@ class DomainTool(BaseTool): ...@@ -312,7 +312,7 @@ class DomainTool(BaseTool):
if explanation_only: if explanation_only:
return explanation_dict return explanation_dict
# Update mapped value # Update mapped value
mapped_value.edit(**mapped_value_property_dict) mapped_value = mapped_value.asContext(**mapped_value_property_dict)
return mapped_value return mapped_value
......
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