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
Please file a collector issue for this problem. -aj ----- Original Message ----- From: "James Sintz" <jamey@infr.com> To: <zope@zope.org> Sent: Thursday, May 02, 2002 17:59 Subject: [Zope] ZCatalog problems - maybe
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
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (2)
-
Andreas Jung -
James Sintz