Commit 293697f5 authored by Andreas Jung's avatar Andreas Jung

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

parent 93284642
...@@ -135,6 +135,8 @@ Zope Changes ...@@ -135,6 +135,8 @@ Zope Changes
Bugs Fixed Bugs Fixed
- Collector #2332: SessionDataManger: don't swallow ConflictErrors
- 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.
......
...@@ -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
/bin/bash: line 1: /tmp/yy: No such file or directory
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