[Zope] Running multiple transactions during single request
chris at simplistix.co.uk
Wed Mar 26 14:41:15 EDT 2008
Charl Coetzee wrote:
> if everyFifthPass:
> # end of while loop
> really does have the desired effect, where also ConflictError handling
> etc continue to work as expected, without nasty side effects etc.
No, this does not handle conflict errors.
The conflict error will be caught in the publisher and the whole request
will be retried, resulting in whatever commits you've manually done up
until that point being re-done...
Why are you using commits rather than savepoints here?
Simplistix - Content Management, Zope & Python Consulting
More information about the Zope