Submitted by : DornelesTremea at: 2008-04-28T18:19:02-07:00 (9 years ago)
Name :
Category : Severity : Status :
Optional subject :  
Optional comment :

We're using ZWiki-0-60-0 with Plone 3.0.6 and whenever we edit a WikiPage?, the new revisions are being indexed by portal_catalog.

This is what happens:

Suggested fix:

diff -rN -u old-ZWiki/Catalog.py new-ZWiki/Catalog.py
--- old-ZWiki/Catalog.py      2008-04-28 22:16:07.000000000 -0300
+++ new-ZWiki/Catalog.py      2008-04-28 22:16:07.000000000 -0300
@@ -119,7 +119,7 @@
         self.index_object()

     #XXX backwards compatibility
-    updateCatalog = reindex_object = index_object
+    updateCatalog = indexObject = reindex_object


 InitializeClass(PageCatalogSupport)

applied to darcs --simon, Thu, 01 May 2008 10:44:56 -0700 reply

Status: open => closed

Thanks for the analysis and fix, I have applied to both CodeRepos.