Nuxeo mailing list archives
[CPS-devel] where is the error_type
Julien Anguenot
ja at nuxeo.com
Tue Aug 22 02:00:31 CEST 2006
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.nuxeo.com/pipermail/cps-devel/attachments/20060822/a83e7fa0/signature.pgp
More information about the cps-devel
mailing list
This list archive provided by Nuxeo, the
leaders of open source ECM.
Check out the Nuxeo 5 open source,
standards-based ECM project.