Commit da6c8a94 authored by Andreas Jung's avatar Andreas Jung

parent 253bea83
...@@ -24,6 +24,16 @@ Zope Changes ...@@ -24,6 +24,16 @@ Zope Changes
- check if ExtendedPathIndex might be a reasonable replacement for PathIndex - check if ExtendedPathIndex might be a reasonable replacement for PathIndex
after Zope 2.8a2
Features added
Bugs fixed
- Collector #1721: Fixed handling of an empty indexed_attrs parameter
Zope 2.8a2 (2005/04/02) Zope 2.8a2 (2005/04/02)
Features added Features added
......
...@@ -94,6 +94,8 @@ class UnIndex(SimpleItem): ...@@ -94,6 +94,8 @@ class UnIndex(SimpleItem):
else: else:
self.indexed_attrs = list(ia) self.indexed_attrs = list(ia)
self.indexed_attrs = [ attr.strip() for attr in self.indexed_attrs if attr ] self.indexed_attrs = [ attr.strip() for attr in self.indexed_attrs if attr ]
if not self.indexed_attrs:
self.indexed_attrs = [id]
self._length = BTrees.Length.Length() self._length = BTrees.Length.Length()
self.clear() self.clear()
......
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