Starting openerp server with --no-database-list not working with new web
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Web (MOVED TO GITHUB) |
Fix Released
|
Medium
|
OpenERP R&D Web Team | ||
openerp-web (CentOS) |
New
|
Undecided
|
Unassigned | ||
openerp-web (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
SO: Ubuntu 10.12
Openerp v7.0 (Build 1061)
Starting openerp server with --no-database-list not working with new web
https:/
BUG:
Client Traceback (most recent call last):
File "/home/
response[
File "/home/
return db_list(req)
File "/home/
dbs = proxy.list()
File "/home/
result = self.session.
File "/home/
raise xmlrpclib.
Server Access denied.
SOLUTION
Replace def db_list within total web/addons/
def db_list(req):
h = req.httprequest
d = h.split('.')[0]
if openerp.
proxy = req.session.
dbs = proxy.list()
r = openerp.
dbs = [i for i in dbs if re.match(r, i)]
else:
dbs = [ d ]
return dbs
summary: |
- Starting openerp server with --no-database-list not working with new web + [7.0] Starting openerp server with --no-database-list not working with + new web |
Changed in openerp-web: | |
status: | New → Confirmed |
assignee: | nobody → OpenERP R&D Web Team (openerp-dev-web) |
Changed in openerp-web: | |
importance: | Undecided → Medium |
summary: |
- [7.0] Starting openerp server with --no-database-list not working with - new web + Starting openerp server with --no-database-list not working with new web |
The attachment "patch-main.py" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.
[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]