Commit e460a6ca authored by Andreas Jung's avatar Andreas Jung

Collector #1826: manage_convertIndexes() did not handle PathIndexes properly

parent 52c5f09c
......@@ -38,18 +38,18 @@ Zope Changes
- Fixed CMFBTreeFolder for CMF 1.5+
- WebDAV COPY and MOVE did not call '_notifyOfCopyTo' and
'_postCopy' hooks like it was done in
OFS.CopySupport. Additionally added
'manage_changeOwnershipType' to make MOVE behave even closer
to OFS.CopySupport.
- WebDAV COPY and MOVE did not call '_notifyOfCopyTo' and '_postCopy'
hooks like it was done in OFS.CopySupport. Additionally added
'manage_changeOwnershipType' to make MOVE behave even closer to
OFS.CopySupport.
- 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.
- manage_convertIndexes did not treat DateRangeIndexes properly
- manage_convertIndexes did not treat DateRangeIndexes and PathIndexes
properly.
Zope 2.8.0 (2005/06/11)
......
......@@ -927,10 +927,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