Commit c9acaf2b authored by Yoshinori Okuji's avatar Yoshinori Okuji

Revert unintentional commits.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3323 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 769efa66
...@@ -497,9 +497,9 @@ be a problem).""" ...@@ -497,9 +497,9 @@ be a problem)."""
XXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXX
BUG here : when creating a new base category BUG here : when creating a new base category
""" """
#self.activate(**kw).recursiveImmediateReindexObject(*args, **kw) self.activate(**kw).recursiveImmediateReindexObject(*args, **kw)
self.recursiveQueueCataloggedObject(*args, **kw) #self.recursiveQueueCataloggedObject(*args, **kw)
self.flushQueuedObjectList(*args, **kw) #self.flushQueuedObjectList(*args, **kw)
security.declarePublic( 'recursiveImmediateReindexObject' ) security.declarePublic( 'recursiveImmediateReindexObject' )
def recursiveImmediateReindexObject(self, *args, **kw): def recursiveImmediateReindexObject(self, *args, **kw):
...@@ -509,8 +509,8 @@ be a problem).""" ...@@ -509,8 +509,8 @@ be a problem)."""
# Reindex self # Reindex self
root_indexable = int(getattr(self.getPortalObject(),'isIndexable',1)) root_indexable = int(getattr(self.getPortalObject(),'isIndexable',1))
if self.isIndexable and root_indexable: if self.isIndexable and root_indexable:
#self.flushActivity(invoke = 0, method_id='immediateReindexObject') # This might create a recursive lock self.flushActivity(invoke = 0, method_id='immediateReindexObject') # This might create a recursive lock
#self.flushActivity(invoke = 0, method_id='recursiveImmediateReindexObject') # This might create a recursive lock self.flushActivity(invoke = 0, method_id='recursiveImmediateReindexObject') # This might create a recursive lock
self.immediateReindexObject(*args, **kw) self.immediateReindexObject(*args, **kw)
# Reindex contents # Reindex contents
#LOG('recursiveImmediateReindexObject', 0, 'self = %r, self.objectValues = %r' % (self, self.objectValues())) #LOG('recursiveImmediateReindexObject', 0, 'self = %r, self.objectValues = %r' % (self, self.objectValues()))
......
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