[Zope] ZCatalog problems - maybe

James Sintz jamey@infr.com
Thu, 02 May 2002 17:59:39 -0400


I have recently upgraded to 2.5.1 and the following doesn't seem to ever
evaluate as true any more. It has worked in several different versions
of Zope with the last one being 2.4.3. When I upgraded to 2.5.0 and
discovered this would never evaluate as true I re-index all the items in
my catalog.

<dtml-let now="ZopeTime().strftime('%Y/%m/%d') + ' 00:00'"
            a="Catalog( { 'meta_type' : 'news',
              'news_goLiveDate' : [ _.DateTime(now), _.DateTime(now)],
              'goLiveDate_usage' : 'range:min:max' } )"

<dtml-if a>
 some code
</dtml-if>
</dtml-let>

Any ideas why it would have stopped working. I have made no other
changes except the upgrade. I tried importing my files and re-indexing
and moving the data.fs.

Thanks

Jamey