Commit 600bdaef authored by Hanno Schlichting's avatar Hanno Schlichting

Merged r77042 from the 2.10 branch.

parent 98182aeb
...@@ -97,6 +97,10 @@ Zope Changes ...@@ -97,6 +97,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