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

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


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

Modified Files:
      Tag: CMF-1_5-branch
	CMFCatalogAware.py 
Log Message:
Fixed reindexObjectSecurity to work correctly with Zope >= 2.7.6.


=== Products/CMFCore/CMFCatalogAware.py 1.21.2.3 => 1.21.2.4 ===
--- Products/CMFCore/CMFCatalogAware.py:1.21.2.3	Fri Mar 25 12:24:34 2005
+++ Products/CMFCore/CMFCatalogAware.py	Thu Apr 14 15:53:39 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