[Zope-dev] catalogObject changes (Zope-2_6-branch)

Yuppie schubbe at web.de
Fri Oct 3 04:14:12 EDT 2003


Hi!


Yesterday I spent some hours tracking down why catalog Metadata and 
catalog Indexes are getting out of sync in my CMF Site.

I found that checkin
<http://cvs.zope.org/Zope/lib/python/Products/ZCatalog/Catalog.py.diff?r1=1.98.6.10&r2=1.98.6.11>

including this new condition
<code>
     if not idxs:
         # if the caller specifies that we should update only a
         # specific set of indexes, we don't do a metadata update.
         self.updateMetadata(object, uid)
</code>

Could anybody tell me what's the rationale behind that checkin?

- it breaks backwards compatibility
- it's only in Zope-2_6-branch, not in Zope-2_7-branch or HEAD
- I can't see what this 'if' is good for anyway


Cheers,
Yuppie





More information about the Zope-Dev mailing list