Re: where is the error_type

Julien Anguenot <[email protected]>
Newsgroups gmane.comp.web.zope.cps.devel
Organization NUXEO
Message-ID <[email protected]>
Joachim Schmitz wrote:
> hi,
> 
> I am trying to adopt the standard_error_message.pt from
> CPSDefault/skins/cps_devel/
> 
> at the top it has:
> <metal:html tal:define="showthirdcol nothing;
>                         error_type options/error_type|nothing;
>                         error_value options/error_value|nothing;
>                         error_message options/error_message|nothing;
>                         error_tb options/error_tb|nothing;
>                         error_traceback options/error_traceback|nothing;
>                         error_log_url options/error_log_url|nothing;
>                         p_props here/portal_properties;
>                        ">
> 
> but when an error like BadRequest occurs this error_type is not passed
> in options. The options-dict is always empty.
> 
> Is this a bug or a feature

This kind of errors is not caught by the standard_error_message.pt
within the CMF skins by by the one at the root of the Zope instance IIRC.

	J.

-- 
Julien Anguenot | Nuxeo R&D (Paris, France)
Open Source ECM - www.nuxeo.com
CPS Platform - http://www.cps-project.org
Mobile: +33 (0) 6 72 57 57 66

_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel
signature.asc (application/pgp-signature, 252 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE6kkfGhoG8MxZ/pIRAgTpAJ9FgcckPJc0TMQ/EACnOFan6tJpCwCfROGi
S9wE0kS6udC/tLE/oUSlO9Y=
=meDS
-----END PGP SIGNATURE-----
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.