[Zope-Checkins] SVN: Zope/trunk/ - Collector #1721: Fixed handling
of an empty indexed_attrs parameter
Andreas Jung
andreas at andreas-jung.com
Tue Apr 5 09:48:49 EDT 2005
Log message for revision 29881:
- Collector #1721: Fixed handling of an empty indexed_attrs parameter
Changed:
U Zope/trunk/doc/CHANGES.txt
U Zope/trunk/lib/python/Products/PluginIndexes/common/UnIndex.py
-=-
Modified: Zope/trunk/doc/CHANGES.txt
===================================================================
--- Zope/trunk/doc/CHANGES.txt 2005-04-05 02:38:36 UTC (rev 29880)
+++ Zope/trunk/doc/CHANGES.txt 2005-04-05 13:48:49 UTC (rev 29881)
@@ -24,6 +24,16 @@
- 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)
Features added
Modified: Zope/trunk/lib/python/Products/PluginIndexes/common/UnIndex.py
===================================================================
--- Zope/trunk/lib/python/Products/PluginIndexes/common/UnIndex.py 2005-04-05 02:38:36 UTC (rev 29880)
+++ Zope/trunk/lib/python/Products/PluginIndexes/common/UnIndex.py 2005-04-05 13:48:49 UTC (rev 29881)
@@ -94,6 +94,8 @@
else:
self.indexed_attrs = list(ia)
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.clear()
More information about the Zope-Checkins
mailing list