[CMF-checkins] CVS: Products/CMFCore - CMFCatalogAware.py:1.15.12.4
Florent Guillaume
fg at nuxeo.com
Thu Apr 14 15:53:37 EDT 2005
Update of /cvs-repository/Products/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv22124/CMFCore
Modified Files:
Tag: CMF-1_4-branch
CMFCatalogAware.py
Log Message:
Fixed reindexObjectSecurity to work correctly with Zope >= 2.7.6.
=== Products/CMFCore/CMFCatalogAware.py 1.15.12.3 => 1.15.12.4 ===
--- Products/CMFCore/CMFCatalogAware.py:1.15.12.3 Fri Mar 25 12:30:11 2005
+++ Products/CMFCore/CMFCatalogAware.py Thu Apr 14 15:53:07 2005
@@ -78,7 +78,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