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
293697f5
Commit
293697f5
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
93284642
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
doc/CHANGES.txt
doc/CHANGES.txt
+2
-0
lib/python/Products/Sessions/SessionDataManager.py
lib/python/Products/Sessions/SessionDataManager.py
+3
-0
No files found.
doc/CHANGES.txt
View file @
293697f5
...
...
@@ -135,6 +135,8 @@ Zope Changes
Bugs Fixed
- Collector #2332: SessionDataManger: don't swallow ConflictErrors
- ZopePageTemplate's pt_edit did not recognize content type arguments
which had a charset information included.
...
...
lib/python/Products/Sessions/SessionDataManager.py
View file @
293697f5
...
...
@@ -15,6 +15,7 @@ import re, time, sys
from
logging
import
getLogger
import
Globals
from
OFS.SimpleItem
import
Item
/
bin
/
bash
:
line
1
:
/
tmp
/
yy
:
No
such
file
or
directory
from
Acquisition
import
Implicit
,
Explicit
,
aq_base
from
Persistence
import
Persistent
from
AccessControl.Owned
import
Owned
...
...
@@ -219,6 +220,8 @@ class SessionDataManager(Item, Implicit, Persistent, RoleManager, Owned, Tabs):
LOG.debug('
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." %
...
...
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