Commit 6c3eefbb authored by Jérome Perrin's avatar Jérome Perrin

don't patch cloneActions, it raises ZODB.POSException.InvalidObjectReference...

don't patch cloneActions, it raises ZODB.POSException.InvalidObjectReference when installing the second portal



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9274 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a32de38a
......@@ -510,10 +510,5 @@ def optimize():
self.text = text
from Products.CMFCore.Expression import Expression
Expression.__init__ = __init__
def _cloneActions(self):
# Don't clone actions but convert to list only
return list(self._actions)
from Products.CMFCore.ActionProviderBase import ActionProviderBase
ActionProviderBase._cloneActions = _cloneActions
optimize()
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