Commit 6dceaf3f authored by Andreas Jung's avatar Andreas Jung

- Collector #1808: manage_convertIndexes no longer tries to change the

        index types causing some trouble with CMF.
parent 543e95ec
......@@ -28,6 +28,9 @@ Zope Changes
- 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
......
......@@ -935,12 +935,6 @@ class ZCatalog(Folder, Persistent, Implicit):
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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment