[Zope] Transaction rollback
Tino Wildenhain
tino at wildenhain.de
Wed Jun 21 03:04:02 EDT 2006
Luiz Fernando B. Ribeiro schrieb:
> I need to return an error page with instructions after verifying a
> request but I need to do a rollback. How can I call a full rollback,
> like when using raise(), inside a python script and redirect to an error
> page.
>
> I found many posts about get_transaction().rollback() but it is
> deprecated in Zope 2.9. What is the modern way of doing this?
I'd use a custom error_page and just raise the exception.
Regards
Tino
More information about the Zope
mailing list