[Zope-CMF] Re: [dev] DateIndex and __CEILING_DATE
Tres Seaver
tseaver at zope.com
Mon Mar 22 14:40:54 EST 2004
yuppie wrote:
> @ Gitte and Tres: I cc'd you because I refer to old mails of you.
>
>
> Hi!
>
>
> Today I stumbled over this mail and thread:
> <http://mail.zope.org/pipermail/zope-cmf/2003-November/019773.html>
>
> Why is there a need to run a conversion script to replace __CEILING_DATE
> by 'None'?
>
> AFAICS 'None' is already stored in the content objects and all that
> needs to be changed is this line in DefaultDublinCoreImpl.expires():
>
> return date is None and self.__CEILING_DATE or date
>
> (At least basically. Full backwards compatibility would be a bit more
> complex.)
>
>
> What am I missing?
Likely only the need to reindex everything; given that one is likely
replacing the existing 'expires' and 'effective' indexes (FieldIndex /
DateIndex) with an 'effectiveRange' index (DateRangeIndex), this might
not be a bad thing.
Tres.
--
===============================================================
Tres Seaver tseaver at zope.com
Zope Corporation "Zope Dealers" http://www.zope.com
More information about the Zope-CMF
mailing list