Log message for revision 115073:
  Less hysterical behavior
  

Changed:
  U   Zope/trunk/src/Products/ZCatalog/Catalog.py

-=-
Modified: Zope/trunk/src/Products/ZCatalog/Catalog.py
===================================================================
--- Zope/trunk/src/Products/ZCatalog/Catalog.py 2010-07-25 10:58:18 UTC (rev 
115072)
+++ Zope/trunk/src/Products/ZCatalog/Catalog.py 2010-07-25 11:01:04 UTC (rev 
115073)
@@ -498,15 +498,6 @@
         # Canonicalize the request into a sensible query before passing it on
         query = self.make_query(query)
 
-        # For hysterical reasons, if all indexes return None for a given
-        # request (and no attributes were used) then we append all results
-        # in the Catalog. This generally happens when the search values
-        # in request are all empty strings or do not coorespond to any of
-        # the indexes.
-
-        # Note that if the indexes find query arguments, but the end result
-        # is an empty sequence, we do nothing
-
         cr = self.getCatalogReport(query)
         cr.start()
 
@@ -814,9 +805,10 @@
     """Multimap catalog arguments coming simultaneously from keywords
     and request.
 
-    Values that are empty strings are treated as non-existent. This is
+    BBB: Values that are empty strings are treated as non-existent. This is
     to ignore empty values, thereby ignoring empty form fields to be
-    consistent with hysterical behavior.
+    consistent with hysterical behavior. This is deprecated and can be changed
+    in Zope 2.14.
     """
 
     def __init__(self, request, keywords):

_______________________________________________
Zope-Checkins maillist  -  Zope-Checkins@zope.org
https://mail.zope.org/mailman/listinfo/zope-checkins

Reply via email to