Commit 1d84ac1e authored by Andreas Jung's avatar Andreas Jung

Collector #1826: manage_convertIndexes() - fixed handling of PathIndexes

parent 9df9ac51
......@@ -39,7 +39,7 @@ Zope Changes
- Collector #1808: manage_convertIndexes no longer tries to change the
index types causing some trouble with CMF.
- manage_convertIndexes now handles DateRangeIndexes properly
- manage_convertIndexes now handles DateRangeIndexes and PathIndexes properly
- WebDAV COPY and MOVE did not call '_notifyOfCopyTo' and
'_postCopy' hooks like it was done in
......
......@@ -925,10 +925,14 @@ class ZCatalog(Folder, Persistent, Implicit):
for idx in self.Indexes.objectValues():
bases = [str(name) for name in idx.__class__.__bases__]
found = False
for base in bases:
if 'UnIndex' in base:
found = True
break
if idx.meta_type == 'PathIndex':
found = True
else:
for base in bases:
if 'UnIndex' in base:
found = True
break
if found:
idx_type = idx.meta_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