[TRUNK] Error when go to a server with cached db_name
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
New
|
Undecided
|
Unassigned |
Bug Description
How to reproduce.
- Start server with -r test1
- Login with db_name1 on host localhost:8069.
- Stop Server.
- GO to other browser.
- Run the server with other user i.e.: -r test2
- Create a new db called db_name2
- Go to previous browse (not the one you just vreated the db).
What I got,
This message appear on browser:
Internal Server Error
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
This traceback on server (see the wrong db_name):
2014-05-10 21:57:01,312 15555 ERROR db_name1 werkzeug: Error on request:
Traceback (most recent call last):
File "/usr/local/
execute(
File "/usr/local/
application
File "/home/
return self.app(e, s)
File "/home/
return application_
File "/home/
result = handler(environ, start_response)
File "/home/
return self.dispatch(
File "/home/
return self.app(environ, start_wrapped)
File "/usr/local/
return self.app(environ, start_response)
File "/home/
ir_http = request.
File "/home/
return openerp.
File "/home/
update_module)
File "/home/
openerp.
File "/home/
graph.
File "/home/
self.
File "/home/
self.
File "/home/
' WHERE name IN %s',(tuple(
File "/home/
return f(self, *args, **kwargs)
File "/home/
res = self._obj.
ProgrammingError: permission denied for relation ir_module_module
What do I expect:
I expect cache cleaned and login and password screen for new db_name.
Regards.
Just For the records:
Starting the server with --db-filter= db_name2 the problem doesn't happend then IMHO the solution may be an "Explicit" error message that says that at least on logger.
I still consider tis a little bug (with lower priority) but a bug at the end of the day.
Regards.