Commit cb3be7b1 authored by Hanno Schlichting's avatar Hanno Schlichting

Fixed bug in ZPublisher.BaseRequest with persistent site managers. An...

Fixed bug in ZPublisher.BaseRequest with persistent site managers. An EndRequestEvent was thrown after the ZODB connection was already closed and thus the site manager not being available anymore.
parent 280711de
...@@ -8,6 +8,10 @@ Zope Changes ...@@ -8,6 +8,10 @@ Zope Changes
Bugs fixed Bugs fixed
- Fixed bug in ZPublisher.BaseRequest with persistent site managers. An
EndRequestEvent was thrown after the ZODB connection was already
closed and thus the site manager not being available anymore.
- Collector #2295: Comments in PythonScripts could lead to syntax - Collector #2295: Comments in PythonScripts could lead to syntax
errors errors
......
...@@ -202,8 +202,8 @@ class BaseRequest: ...@@ -202,8 +202,8 @@ class BaseRequest:
def close(self): def close(self):
self.other.clear() self.other.clear()
self._held=None
notify(EndRequestEvent(None, self)) notify(EndRequestEvent(None, self))
self._held=None
def processInputs(self): def processInputs(self):
"""Do any input processing that could raise errors """Do any input processing that could raise errors
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment