[Zope] Attribute error : redirect encounter with build simple Zclass
Dieter Maurer
dieter@handshake.de
Sun, 28 Jul 2002 23:34:10 +0200
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