[Zope] Key Error in Catalog Reindex
KJZZ Webmaster
kjzz.webmaster at riomail.maricopa.edu
Thu Jan 25 06:30:24 EST 2007
Dieter, thank you for the suggestion on how to change \lib\python\OFS\DTMLMethod.py
to avoid the key error.
Before I went ahead and altered zope's the underlying code, I thought I would
try Andres' suggestion first, by rewriting the dtml method as a python script:
REQUEST = container.REQUEST
RESPONSE = REQUEST.RESPONSE
REFERER = REQUEST.get_header('HTTP_REFERER')
catalog = context.Catalog
catalog.manage_catalogReindex(REQUEST, RESPONSE, REFERER)
RESPONSE.redirect(REFERER)
This seems to have fixed the issue. I'll let you know if I notice anything
further.
Thanks kindly,
John T.
>-- Original Message --
>Date: Mon, 22 Jan 2007 18:01:30 +0100
>From: Andreas Jung <lists at zopyx.com>
>
>Rewrite the code using a PythonScript and check again for errors.
>
More information about the Zope
mailing list