Commit d1944098 authored by Florent Guillaume's avatar Florent Guillaume

Fixed ConflictError when using sessions.

parent cdd43c02
...@@ -28,6 +28,8 @@ Zope Changes ...@@ -28,6 +28,8 @@ Zope Changes
- deprecated OFS.content_types - deprecated OFS.content_types
- Fixed ConflictError when using sessions.
Zope 2.9.0 beta 2 (2005/12/24) Zope 2.9.0 beta 2 (2005/12/24)
Bugs fixed Bugs fixed
......
...@@ -147,6 +147,10 @@ class MountedObject(SimpleItem): ...@@ -147,6 +147,10 @@ class MountedObject(SimpleItem):
conn = anyjar.get_connection(db_name) conn = anyjar.get_connection(db_name)
except KeyError: except KeyError:
conn = self._getDB().open() conn = self._getDB().open()
# FIXME: The following should be done by ZODB's multidatabase
# code, it does it correctly for get_connection().
anyjar.connections.update(conn.connections)
conn.connections = anyjar.connections
return conn return conn
def mount_error_(self): def mount_error_(self):
......
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