Hamzat Kamal writes:
I was facing this error when using How to "Build a simple ZClass.
Error Type: AttributeError Error Value: redirect ... (Object: tbCatalog) File C:\Program Files\WebSite\lib\python\DocumentTemplate\DT_Util.py, line 230, in eval (Object: manage_addIndex('username','FieldIndex',REQUEST,RESPONSE,URL1)) (Info: manage_addIndex) File <string>, line 2, in f File C:\Program Files\WebSite\lib\python\Products\ZCatalog\ZCatalog.py, line 414, in manage_addIndex (Object: LockableItem) AttributeError: (see above) It's a bit strange that "bilding a ZClass" adds an index to a catalog.
Anyway, it appears as if the passed in "RESPONSE" is not a true response object but lacks a "redirect". Check where it comes from. Dieter