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
signature.asc
Description: OpenPGP digital signature
_______________________________________________ cps-devel mailing list http://lists.nuxeo.com/mailman/listinfo/cps-devel
