[Zope-CMF] Re: [dev] DateIndex and __CEILING_DATE
tseaver at zope.com
Mon Mar 22 14:40:54 EST 2004
> @ Gitte and Tres: I cc'd you because I refer to old mails of you.
> Today I stumbled over this mail and thread:
> 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
> 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 Seaver tseaver at zope.com
Zope Corporation "Zope Dealers" http://www.zope.com
More information about the Zope-CMF