[Zope] catching BadRequest exceptions

Dieter Maurer dieter at handshake.de
Sun Mar 5 12:38:44 EST 2006


Palermo, Tom wrote at 2006-3-4 21:41 -0500:
>I'm trying to catch when someone tries to create an object with the same Id
>as another object. I thought this was handled by checkValidId. It doesn't
>appear that this error is handled by standard_error_message.

These errors should be handled by the normal "standard_error_message".

Maybe, you find some relevant information in the "error_log" object.
The traceback would be interesting. It would tell us whether you
can expect that your "standard_error_message" is used.

-- 
Dieter


More information about the Zope mailing list