Comment 3 for bug 372632

Revision history for this message
Jürgen Herrmann (xlhost) wrote :

i tracked this down to OFS/SimpleItem.py, lines 240++

handle_errors is 0, because RESPONSE's attribute handle_errors is set to it's constructors kw arg debug=0 (ZPublisher/Publish.py, line 194)

ctor is None because:

(Pdb) getattr(error_type, '__init__').im_func

*** AttributeError: 'wrapper_descriptor' object has no attribute 'im_func'

(Pdb) getattr(getattr(error_type, '__init__', None), 'im_func', None)

None

if i disable the test for can_raise and handle_errors, everything looks fine here, standard_error_message is back :)