[Zope] ZPT, standard_error_message and error_value
Dieter Maurer
dieter@handshake.de
Tue, 5 Nov 2002 20:39:37 +0100
Richard Wesley writes:
> I am having a rather surreal time here. I am attempting to write a
> ZPT version of standard_error_message under Zope 2.5.0 and I find
> that I cannot display the options/error_value field. If I dump out
> the entire options dictionary, error_value is there and gets
> displayed as something like <Products.PageTemplates.TALES.Undefined
> instance at 0x831c384>, but if I attempt to render it in ZPT (just
> using what the CMF folks did) I get a generic error message of some
> kind. DTML has no trouble rendering the same thing as a file/line
> type error message but ZPT blows chunks.
>
> Any hints greatly appreciated.
I remember that there have been problems with page templates called
in the root object.
You may need to upgrade to get rid of this problem.
Dieter