[CMF-checkins] CVS: Products/CMFCore - CMFCatalogAware.py:1.25

Florent Guillaume fg at nuxeo.com
Thu Apr 14 15:54:48 EDT 2005


Update of /cvs-repository/Products/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv22565/CMFCore

Modified Files:
	CMFCatalogAware.py 
Log Message:
Fixed reindexObjectSecurity to work correctly with Zope >= 2.7.6.


=== Products/CMFCore/CMFCatalogAware.py 1.24 => 1.25 ===
--- Products/CMFCore/CMFCatalogAware.py:1.24	Fri Mar 25 12:25:57 2005
+++ Products/CMFCore/CMFCatalogAware.py	Thu Apr 14 15:54:18 2005
@@ -85,7 +85,7 @@
         if catalog is not None:
             path = '/'.join(self.getPhysicalPath())
             for brain in catalog.unrestrictedSearchResults(path=path):
-                ob = brain.getObject()
+                ob = self.unrestrictedTraverse(brain.getPath(), None)
                 if ob is None:
                     # Ignore old references to deleted objects.
                     continue



More information about the CMF-checkins mailing list