Commit d56863d1 authored by Andreas Jung's avatar Andreas Jung

- Collector #2332: SessionDataManger: don't swallow ConflictErrors

parent eeb9fc52
...@@ -11,6 +11,8 @@ Zope Changes ...@@ -11,6 +11,8 @@ Zope Changes
- ZopePageTemplate's pt_edit did not recognize content type arguments - ZopePageTemplate's pt_edit did not recognize content type arguments
which had a charset information included. which had a charset information included.
- Collector #2332: SessionDataManger: don't swallow ConflictErrors
Zope 2.10.4 (23.06.2007) Zope 2.10.4 (23.06.2007)
Other changes Other changes
......
...@@ -15,6 +15,7 @@ import re, time, sys ...@@ -15,6 +15,7 @@ import re, time, sys
from logging import getLogger from logging import getLogger
import Globals import Globals
from OFS.SimpleItem import Item from OFS.SimpleItem import Item
from ZODB.POSException import ConflictError
from Acquisition import Implicit, Explicit, aq_base from Acquisition import Implicit, Explicit, aq_base
from Persistence import Persistent from Persistence import Persistent
from AccessControl.Owned import Owned from AccessControl.Owned import Owned
...@@ -219,6 +220,8 @@ class SessionDataManager(Item, Implicit, Persistent, RoleManager, Owned, Tabs): ...@@ -219,6 +220,8 @@ class SessionDataManager(Item, Implicit, Persistent, RoleManager, Owned, Tabs):
LOG.debug('External data container at %s in use' % args) LOG.debug('External data container at %s in use' % args)
self._v_wrote_dc_type = 1 self._v_wrote_dc_type = 1
return self.unrestrictedTraverse(self.obpath) return self.unrestrictedTraverse(self.obpath)
except ConflictError:
raise
except: except:
raise SessionDataManagerErr, ( raise SessionDataManagerErr, (
"External session data container '%s' not found." % "External session data container '%s' not found." %
......
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