[Checkins] [zopefoundation/Zope] 8053d9: Abort the transaction before closing the connectio...

GitHub noreply at github.com
Wed Sep 13 12:52:48 CEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/Zope
  Commit: 8053d930adc54191d1a108aad6eeb7e10df4b443
      https://github.com/zopefoundation/Zope/commit/8053d930adc54191d1a108aad6eeb7e10df4b443
  Author: Steffen Allner <sa at gocept.com>
  Date:   2017-09-13 (Wed, 13 Sep 2017)

  Changed paths:
    M src/ZPublisher/WSGIPublisher.py

  Log Message:
  -----------
  Abort the transaction before closing the connection.

Before the rework to use a context manager the transaction was aborted directly
on the transaction manager. We still need to do this as an Unauthorized would
not be raised but lead to a `Cannot close a connection joined to a
transaction`.




More information about the checkins mailing list