Commit 974628bb authored by Yoshinori Okuji's avatar Yoshinori Okuji

isMemcachedUsed is a method of SelectionTool but not Selection... For now I...

isMemcachedUsed is a method of SelectionTool but not Selection... For now I ignore this attribute write, because it is volatile.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17356 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e33ed26b
...@@ -158,8 +158,7 @@ class Selection(Acquisition.Implicit, Traversable, Persistent): ...@@ -158,8 +158,7 @@ class Selection(Acquisition.Implicit, Traversable, Persistent):
security.declarePrivate('edit') security.declarePrivate('edit')
def edit(self, params=None, **kw): def edit(self, params=None, **kw):
if self.isMemcachedUsed(): setattr(self, MEMCACHED_TOOL_MODIFIED_FLAG_PROPERTY_ID, True)
setattr(self, MEMCACHED_TOOL_MODIFIED_FLAG_PROPERTY_ID, True)
if params is not None: if params is not None:
# We should only keep params which do not start with field_ # We should only keep params which do not start with field_
# in order to make sure we do not collect unwanted params # in order to make sure we do not collect unwanted params
......
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