Commit 302b3ece authored by Sebastien Robin's avatar Sebastien Robin

still continue to init as BTreeFolder2

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16358 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 95ebac2f
...@@ -58,16 +58,13 @@ try: ...@@ -58,16 +58,13 @@ try:
except ImportError: except ImportError:
class CMFHBTreeFolder: class CMFHBTreeFolder:
def __init__(self, *args, **kw): pass
pass
class HBTreeFolder2Base: class HBTreeFolder2Base:
def __init__(self, *args, **kw): pass
pass
class HBTreeFolder2: class HBTreeFolder2:
def __init__(self, *args, **kw): pass
pass
from AccessControl import getSecurityManager from AccessControl import getSecurityManager
...@@ -494,8 +491,9 @@ class Folder(CopyContainer, CMFBTreeFolder, CMFHBTreeFolder, Base, FolderMixIn, ...@@ -494,8 +491,9 @@ class Folder(CopyContainer, CMFBTreeFolder, CMFHBTreeFolder, Base, FolderMixIn,
# This is required for test_23_titleIsNotDefinedByDefault # This is required for test_23_titleIsNotDefinedByDefault
def __init__(self, id): def __init__(self, id):
self.id = id self.id = id
# do not do any other initialisation here, # We must continue initializing by default to BTree,
# wait for new content call to do init # this is the default way of working of ERP5 Folder.
BTreeFolder2Base.__init__(self, id)
method_id_list = ["initBTrees", "manage_fixCount", "manage_cleanup", method_id_list = ["initBTrees", "manage_fixCount", "manage_cleanup",
"getBatchObjectListing", "manage_object_workspace", "getBatchObjectListing", "manage_object_workspace",
......
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