[saas-3/trunk] auth_ldap: internal server error when logging with a wrong login/password
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
New
|
Undecided
|
Unassigned |
Bug Description
With the module "auth_ldap" an internal server error message is displayed when the user uses a wrong login or password.
Scenario:
With the module "auth_ldap" installed
1/With admin, configure ldap for the admin company. The values in the configuration has no impact on the bug.
2/Logout as admin
3/Try to login as admin with a bad password
4/Internal Server Error, the browser cache/cookies must be cleaned in order to be able to log again.
Here is the stack trace in the server log:
File "/home/
result = ir_http._dispatch()
File "/home/
return self._handle_
File "/home/
return request.
File "/home/
result = request.dispatch()
File "/home/
r = self._call_
File "/home/
return checked_
File "/home/
return f(dbname, *args, **kwargs)
File "/home/
return self.func(*a, **kw)
File "/home/
return self.method(*args, **kw)
File "/home/
response = super(LoginWith
File "/home/
uid = request.
File "/home/
uid = openerp.
File "/home/
result = dispatch(method, params)
File "/home/
return fn(*params)
File "/home/
return res_users.
File "/home/
uid = self.login(db, login, password)
File "/home/
entry = ldap_obj.
File "/home/
filter = filter_
File "/home/
return filter_template % (tuple(
TypeError: not all arguments converted during string formatting
Tested with both Chrome and IE9.
description: | updated |
Linked to opw-608126.