Browse DateIndex in portal catlog gives DateError: Invalid date

David Siedband <[email protected]>
Newsgroups gmane.comp.web.zope.plone.user
Message-ID <[email protected]>
I have a catalog query which is querying a DateIndex field, but the contents are coming back in what looks like the folder sort order, rather than the custom DateIndex.

When I try to Browse that index in the portal_catalog, I get this error.

Traceback (innermost last):
  Module ZPublisher.Publish, line 126, in publish
  Module ZPublisher.mapply, line 77, in mapply
  Module ZPublisher.Publish, line 46, in call_object
  Module Shared.DC.Scripts.Bindings, line 322, in __call__
  Module Shared.DC.Scripts.Bindings, line 359, in _bindAndExec
  Module App.special_dtml, line 185, in _exec
  Module DocumentTemplate.DT_Let, line 77, in render
  Module DocumentTemplate.DT_In, line 606, in renderwb
  Module DocumentTemplate.DT_Util, line 210, in eval
   - __traceback_info__: DateTime
  Module <string>, line 1, in <module>
  Module DateTime.DateTime, line 440, in __init__
  Module DateTime.DateTime, line 812, in _parse_args
DateError: Invalid date: (2011, 0, 2, 8, 0, 0, 'UTC’)

I tried a reindex, but the error persists.  Any ideas what’s happening here and how to remedy?

Thanks,
--
David Siedband
http://zentraal.com


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Plone-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plone-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.