• Chris McDonough's avatar
    Merge from 2.7 branch: · 1eeff781
    Chris McDonough authored
    Collector 789:  Zope's transaction behavior flawed.
                                                                                    
    Historically, errors that made it up to the publisher have run outside the
    context of a transaction.  This has caused problems for applications which
    expect to be able to write to the database (if only temporarily, before
    transaction.abort() is eventually called).
                                                                                    
    With this patch, we allow the error to execute in the same transaction as
    the "main" request, and abort only after the error has executed.
    1eeff781
Publish.py 12.8 KB