[ZCM] [ZC] 1638/ 1 Request "ZCatalog problems searching objects"

Collector: Zope Bugs, Features, and Patches ... zope-coders-admin at zope.org
Mon Dec 27 06:08:02 EST 2004


Issue #1638 Update (Request) "ZCatalog problems searching objects"
 Status Pending, Catalog/bug medium
To followup, visit:
  http://zope.org/Collectors/Zope/1638

==============================================================
= Request - Entry #1 by scamps on Dec 27, 2004 6:08 am


Uploaded:  "ZCatalog_not_obj.patch"
 - http://zope.org/Collectors/Zope/1638/ZCatalog_not_obj.patch/view
In ZCatalog/ZCatalog.py there are some sentences "if not obj" that are not working fine.  I've found some cases where this sentence is true when "obj" is not None.  I think this will not affect people reindexing from ZMI, becouse of the following "obj = self.resolve_url(p, self.REQUEST)" sentence,  but it crash when trying to refreshCatalog from a simple python ZEO client.   Replacing all "if not obj" for "if obj is None" solve all the problems.   I attach a patch to do it.
==============================================================



More information about the Zope-Collector-Monitor mailing list