Log message for revision 30783: - Collector #1808: manage_convertIndexes no longer tries to change the index types causing some trouble with CMF.
Changed: U Zope/branches/Zope-2_8-branch/doc/CHANGES.txt U Zope/branches/Zope-2_8-branch/lib/python/Products/ZCatalog/ZCatalog.py -=- Modified: Zope/branches/Zope-2_8-branch/doc/CHANGES.txt =================================================================== --- Zope/branches/Zope-2_8-branch/doc/CHANGES.txt 2005-06-13 13:03:34 UTC (rev 30782) +++ Zope/branches/Zope-2_8-branch/doc/CHANGES.txt 2005-06-13 13:04:33 UTC (rev 30783) @@ -28,6 +28,9 @@ - Collector #1548: Fix 'httplib' usage in ZPublisher.Client. + - Collector #1808: manage_convertIndexes no longer tries to change the + index types causing some trouble with CMF. + Zope 2.8.0 (2005/06/11) Bugs Fixed Modified: Zope/branches/Zope-2_8-branch/lib/python/Products/ZCatalog/ZCatalog.py =================================================================== --- Zope/branches/Zope-2_8-branch/lib/python/Products/ZCatalog/ZCatalog.py 2005-06-13 13:03:34 UTC (rev 30782) +++ Zope/branches/Zope-2_8-branch/lib/python/Products/ZCatalog/ZCatalog.py 2005-06-13 13:04:33 UTC (rev 30783) @@ -935,12 +935,6 @@ idx_type = idx.meta_type idx_id = idx.getId() LOG.info('processing index %s' % idx_id) - if idx_type == 'FieldIndex' and idx_id in ('start', 'modified', - 'end', 'created'): - idx_type = 'DateIndex' - if idx_type == 'FieldIndex' and idx_id in ('effective', - 'expires'): - idx_type = 'DateRangeIndex' indexed_attrs = getattr(idx, 'indexed_attrs', None) self.delIndex(idx.getId()) self.addIndex(idx_id, idx_type) _______________________________________________ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins