[Zope-Checkins] SVN: Zope/trunk/ Launchpad #164783: Indexes were migrated on initial creation of a ZODB.

Hanno Schlichting plone at hannosch.info
Sat Nov 24 08:25:51 EST 2007


Log message for revision 81975:
  Launchpad #164783: Indexes were migrated on initial creation of a ZODB.
  

Changed:
  U   Zope/trunk/doc/CHANGES.txt
  U   Zope/trunk/lib/python/Products/ZCatalog/ZCatalog.py

-=-
Modified: Zope/trunk/doc/CHANGES.txt
===================================================================
--- Zope/trunk/doc/CHANGES.txt	2007-11-23 18:44:13 UTC (rev 81974)
+++ Zope/trunk/doc/CHANGES.txt	2007-11-24 13:25:49 UTC (rev 81975)
@@ -182,6 +182,9 @@
 
     Bugs Fixed
 
+      - Launchpad #164783: Indexes were migrated on initial creation of a
+        ZODB.
+
       - Launchpad #151020: HTTP_CHAR_SET headers containing 'x-user-defined'
         caused a LookupError exception. Unknown encodings are from now on
         silently discarded.

Modified: Zope/trunk/lib/python/Products/ZCatalog/ZCatalog.py
===================================================================
--- Zope/trunk/lib/python/Products/ZCatalog/ZCatalog.py	2007-11-23 18:44:13 UTC (rev 81974)
+++ Zope/trunk/lib/python/Products/ZCatalog/ZCatalog.py	2007-11-24 13:25:49 UTC (rev 81975)
@@ -177,6 +177,7 @@
         self._v_total = 0
 
         self._catalog = Catalog()
+        self._migrated_280 = True
 
     def __len__(self):
         # Perform a migration of _catalog.__len__ to _catalog._length



More information about the Zope-Checkins mailing list