[Trunk / 7.0] crash when duplicating a database from the web interface
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Confirmed
|
Medium
|
OpenERP's Framework R&D |
Bug Description
I got the following crash when trying to duplicate a database from the web interface:
Client Traceback (most recent call last):
File "/srv/openerp/
response[
File "/srv/openerp/
return req.session.
File "/srv/openerp/
result = self.session.
File "/srv/openerp/
raise xmlrpclib.
Server Traceback (most recent call last):
File "/srv/openerp/
return openerp.
File "/srv/openerp/
result = ExportService.
File "/srv/openerp/
return fn(*params)
File "/srv/openerp/
cr.
File "/srv/openerp/
return f(self, *args, **kwargs)
File "/srv/openerp/
res = self._obj.
OperationalError: source database "openerp_prod" is being accessed by other users
DETAIL: There are 8 other session(s) using the database.
summary: |
- [7.0] crash when duplicating a database from the web interface + [Trunk / 7.0] crash when duplicating a database from the web interface |
Changed in openobject-server: | |
assignee: | nobody → OpenERP's Framework R&D (openerp-dev-framework) |
importance: | Undecided → Medium |
status: | New → Confirmed |
The instance is running in multi process mode, and it seems that the code in exp_duplicate_ database which attempts to disconnect the sessions before lauching the CREATE DATABASE ... TEMPLATE is not multi process aware.