[Zope-dev] [Bug] Zope's transaction behaviour flawed

Toby Dickenson tdickenson@geminidataloggers.com
Mon, 3 Feb 2003 10:40:54 +0000


On Sunday 02 February 2003 3:40 pm, Dieter Maurer wrote:

> This is flawed as error handling is done outside of a transaction.

Excellent analysis. A futher problem is that this could cause dangling=20
references, and a subsequent POSKeyError, since persistent objects can be=
=20
passed from one transaction to the next inside the exception and tracebac=
k.

The same applies to your prorosed fix. Is there a need to allow the error=
=20
handling transaction to commit? I propose it always be aborted.

--=20
Toby Dickenson
http://www.geminidataloggers.com/people/tdickenson