Merge lp:~openerp-dev/openobject-server/6.1-opw-578621-rgo into lp:openobject-server/6.1
Status: | Approved | ||||
---|---|---|---|---|---|
Approved by: | Naresh(OpenERP) | ||||
Approved revision: | 4265 | ||||
Proposed branch: | lp:~openerp-dev/openobject-server/6.1-opw-578621-rgo | ||||
Merge into: | lp:openobject-server/6.1 | ||||
Diff against target: |
12 lines (+1/-1) 1 file modified
openerp/service/netrpc_server.py (+1/-1) |
||||
To merge this branch: | bzr merge lp:~openerp-dev/openobject-server/6.1-opw-578621-rgo | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Naresh(OpenERP) | Pending | ||
Review via email: mp+122219@code.launchpad.net |
Description of the change
Hello,
If we run server with option --no-database-list and try to connect to server using GTK-Client and using netrpc, client will show message saying 'Could not connect to server !' and won't allow to connect, but we would be able to do so using xmlrpc.
After investingating the issue, I found that, with --no-database-list option, 'AccessDenied' exception is raised from(server/
But in case of netrpc, after raising AccessDenied, a string is returned as 'AccessDenied Access denied.' by server(file server/
So, on the basis of my above investigation, I fixed this issue by passing proper faultCode from server to client.
Kindly review the fix.
Thanks.
Unmerged revisions
- 4265. By Ravi Gohil (OpenERP)
-
[FIX]: could not connect to server using netrpc from GTK-Client and '--no-database-
list' parameter fed to server: (Maintenance Case : 578621)
Hello !
What is blocking this fix from being merged in the stable branch ?