Hello,

I checked the issue and found that this issue should be fixed from server side. 
What I found in my investigation is,
with --no-database-list option, 'AccessDenied' exception is raised 
from(/server/openerp/service/web_services.py, line#319) and with xmlrpc, it is 
handled at /server/openerp/wsgi/core.py, line#133 by setting faultCode as 
'AccessDenied' which is passed to GTK-Client and GTK-Client handles this 
faultCode(by checking, if e.faultCode == 'AccessDenied') and returns None.

But in case of netrpc, after raising AccessDenied, a string is returned
as 'AccessDenied Access denied.' by server(file
server/openerp/service/netrpc_server.py, line#99) and this string will
be set as faultCode by GTK-Client(file client/bin/tiny_socket.py,
line#108), and this fault code isn't handled by GTK-Client and will not
return any thing.

So, on the basis of my above investigation, I am assigning this to
server and will propose a fix soon by passing correct faultCode from
server.

Thanks.

-- 
You received this bug notification because you are a member of OpenERP
sa GTK client R&D, which is a bug assignee.
https://bugs.launchpad.net/bugs/922024

Title:
  config parameter --no-database-list error

Status in OpenERP Web:
  Fix Released
Status in OpenERP GTK Client:
  Confirmed

Bug description:
  setting this parameter to false raises db access error
  * web works somehow after ignoring the message
  * GTK no access possible

To manage notifications about this bug go to:
https://bugs.launchpad.net/openerp-web/+bug/922024/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to