Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
8396570b
Commit
8396570b
authored
Aug 12, 2007
by
Andreas Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Collector #2332: SessionDataManger: don't swallow ConflictErrors
parent
64a3cdd3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
doc/CHANGES.txt
doc/CHANGES.txt
+7
-0
lib/python/Products/Sessions/SessionDataManager.py
lib/python/Products/Sessions/SessionDataManager.py
+3
-0
No files found.
doc/CHANGES.txt
View file @
8396570b
...
@@ -4,6 +4,13 @@ Zope Changes
...
@@ -4,6 +4,13 @@ Zope Changes
Change information for previous versions of Zope can be found in the
Change information for previous versions of Zope can be found in the
file HISTORY.txt.
file HISTORY.txt.
Zope 2.9.9 (unreleased)
Bugs fixed
- Collector #2332: SessionDataManger: don't swallow ConflictErrors
Zope 2.9.8 (2007/07/05)
Zope 2.9.8 (2007/07/05)
Bugs fixed
Bugs fixed
...
...
lib/python/Products/Sessions/SessionDataManager.py
View file @
8396570b
...
@@ -17,6 +17,7 @@ logger = logging.getLogger('Session Tracking')
...
@@ -17,6 +17,7 @@ logger = logging.getLogger('Session Tracking')
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
...
@@ -222,6 +223,8 @@ class SessionDataManager(Item, Implicit, Persistent, RoleManager, Owned, Tabs):
...
@@ -222,6 +223,8 @@ class SessionDataManager(Item, Implicit, Persistent, RoleManager, Owned, Tabs):
'
External
data
container
at
%
s
in
use
' % args)
'
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." %
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment