Commit 8396570b authored by Andreas Jung's avatar Andreas Jung

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

parent 64a3cdd3
......@@ -4,6 +4,13 @@ Zope Changes
Change information for previous versions of Zope can be found in the
file HISTORY.txt.
Zope 2.9.9 (unreleased)
Bugs fixed
- Collector #2332: SessionDataManger: don't swallow ConflictErrors
Zope 2.9.8 (2007/07/05)
Bugs fixed
......
......@@ -17,6 +17,7 @@ logger = logging.getLogger('Session Tracking')
import Globals
from OFS.SimpleItem import Item
from ZODB.POSException import ConflictError
from Acquisition import Implicit, Explicit, aq_base
from Persistence import Persistent
from AccessControl.Owned import Owned
......@@ -222,6 +223,8 @@ class SessionDataManager(Item, Implicit, Persistent, RoleManager, Owned, Tabs):
'External data container at %s in use' % args)
self._v_wrote_dc_type = 1
return self.unrestrictedTraverse(self.obpath)
except ConflictError:
raise
except:
raise SessionDataManagerErr, (
"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