[Zope] Transactions in Zope?
Dieter Maurer
dieter@handshake.de
Sat, 24 Nov 2001 20:00:52 +0100
Bruce Eckel writes:
> I am creating an external method that makes a folder, creates a
> dtml method in that folder, and then sends an email message. If any
> of these operations fail, I'd like to "roll back" to the state
> before the method was called. I think I heard that zope has
> transactions of some kind, and I'm making mods to the ZODB in my
> external method, so is there a magic piece of code that would roll
> everything back?
As far as I know, sending mail is not yet transaction controlled.
There is a proposal to change this and a long thread in the (I think
zope-dev) mailing list archives.
Dieter