Commit 69e71432 authored by Jérome Perrin's avatar Jérome Perrin

There are no bugs when creating base category, update those outdated docstrings


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15369 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e2a3716d
...@@ -552,10 +552,7 @@ class Folder( CopyContainer, CMFBTreeFolder, Base, FolderMixIn): ...@@ -552,10 +552,7 @@ class Folder( CopyContainer, CMFBTreeFolder, Base, FolderMixIn):
# Catalog related # Catalog related
security.declarePublic( 'reindexObject' ) security.declarePublic( 'reindexObject' )
def reindexObject(self, *args, **kw): def reindexObject(self, *args, **kw):
""" """Fixes the hierarchy structure (use of Base class)
Fixes the hierarchy structure (use of Base class)
XXXXXXXXXXXXXXXXXXXXXXXX
BUG here : when creating a new base category
""" """
return Base.reindexObject(self, *args, **kw) return Base.reindexObject(self, *args, **kw)
...@@ -571,10 +568,7 @@ class Folder( CopyContainer, CMFBTreeFolder, Base, FolderMixIn): ...@@ -571,10 +568,7 @@ class Folder( CopyContainer, CMFBTreeFolder, Base, FolderMixIn):
security.declarePublic( 'recursiveReindexObject' ) security.declarePublic( 'recursiveReindexObject' )
def recursiveReindexObject(self, activate_kw=None, **kw): def recursiveReindexObject(self, activate_kw=None, **kw):
""" """Recursively indexes the content of self.
Fixes the hierarchy structure (use of Base class)
XXXXXXXXXXXXXXXXXXXXXXXX
BUG here : when creating a new base category
""" """
if self.isIndexable: if self.isIndexable:
if activate_kw is None and self.objectCount() > REINDEX_SPLIT_COUNT: if activate_kw is None and self.objectCount() > REINDEX_SPLIT_COUNT:
......
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