[Zope3-dev] attribute index indexing None if returned from callable

Adam Groszer adamg at fw.hu
Wed Jan 17 07:44:04 EST 2007


Hello Jürgen,

Yep, +1.
Did some changes around the subject but seems like it was not enough.
The outcome of the story was the same: None should not get indexed.

Wednesday, January 17, 2007, 1:35:04 PM, you wrote:

> If a callable is used to provide the value for an attribute index in 
> zope.app.catalog value None is indexed. If the value is directly 
> provided by an attribute None is never indexed.

> I would like to see the same behavior for both cases, that means None is
> not indexed in either ways.

> If no one complains I will check in the necessary changes.

> Jürgen

> _______________________________________________
> Zope3-dev mailing list
> Zope3-dev at zope.org
> Unsub: http://mail.zope.org/mailman/options/zope3-dev/adamg%40fw.hu


-- 
Best regards,
 Adam                            mailto:adamg at fw.hu
--
Quote of the day:
Epochs of faith are epochs of fruitfulness; but epochs of unbelief, however glittering, are barren of all permanent good. 
- Johann Wolfgang von Goethe 



More information about the Zope3-dev mailing list