From 6c3eefbb8c256b3a1c7695504cf73d0fad14a4b6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Mon, 21 Aug 2006 08:47:36 +0000
Subject: [PATCH] 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
---
 product/ERP5Type/tests/ERP5TypeTestCase.py | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/product/ERP5Type/tests/ERP5TypeTestCase.py b/product/ERP5Type/tests/ERP5TypeTestCase.py
index e1bb1f436b..4c2f0ff8fb 100644
--- a/product/ERP5Type/tests/ERP5TypeTestCase.py
+++ b/product/ERP5Type/tests/ERP5TypeTestCase.py
@@ -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()
-- 
2.30.9