Commit 5d14f92e 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 b5171756
......@@ -34,6 +34,9 @@ Zope Changes
Bugs fixed
- Collector #1808: manage_convertIndexes no longer tries to change the
index types causing some trouble with CMF.
- Collector #1548: Fix 'httplib' usage in ZPublisher.Client.
- Collector #1792: applied patch for broken ZClasses
......
......@@ -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