Files
odoo_source/addons
Xavier Morel a9da2abd9f [FIX] double-load on successful login
Session#session_restore is automatically called when the client
session is started, and it performs an RPC call. This RPC call is
checked and leads to the opening of the login form iif the user is not
currently logged in (does not have a valid session).

Due to the behavior of Session#rpc_ajax, this failure on grounds of
invalid session leads to the restore continuation being stored for
deferred execution once the user logs in.

Issue is that both Session#session_login and Session#session_restore
call Session#on_session_valid which tries to load all modules. As a
result and because the '_modules_loaded' flag is only set five billion
years after 'load_modules' is called both calls will try to load all
modules in parallel, leading to double downloading and execution of
all JS and CSS files coming from module data (including translation
files).

bzr revid: xmo@openerp.com-20111003090709-ree0luomezw1wzup
2011-10-03 11:07:09 +02:00
..
2011-09-17 16:41:13 +02:00
2011-09-24 11:30:09 +02:00
2011-09-17 13:03:17 +02:00
2011-09-30 17:16:30 +02:00
2011-09-24 11:10:37 +02:00
2011-09-24 18:08:02 +02:00
2011-09-17 13:03:17 +02:00
2011-09-24 12:31:58 +02:00
2011-09-17 13:03:17 +02:00
2011-09-17 13:03:17 +02:00
2011-09-24 11:10:37 +02:00
2011-09-24 11:10:37 +02:00
2011-09-24 12:45:26 +02:00
2011-09-22 05:02:01 +02:00
2011-09-22 05:02:01 +02:00
2011-09-29 10:43:01 +05:30
2011-09-24 16:33:23 +02:00
2011-09-24 15:11:35 +02:00
2011-09-24 16:16:51 +02:00
2011-09-24 17:15:33 +02:00
2011-09-29 10:37:51 +05:30
2011-09-22 15:14:29 +02:00
2011-09-24 13:53:32 +02:00
2011-09-27 18:52:19 +02:00
2011-09-27 17:50:33 +02:00
2011-09-24 16:16:51 +02:00
2011-09-24 10:16:19 +02:00
2011-09-27 17:50:33 +02:00
2011-10-01 12:51:55 +02:00
2011-09-27 17:50:33 +02:00
2011-09-27 17:50:33 +02:00
2011-09-27 17:50:33 +02:00
2011-09-27 17:50:33 +02:00
2011-09-27 17:50:33 +02:00
2011-09-27 17:50:33 +02:00
2011-09-27 17:50:33 +02:00
2011-09-27 17:50:33 +02:00
2011-09-27 18:52:19 +02:00
2011-09-17 13:03:17 +02:00
2011-09-17 13:03:17 +02:00
2011-09-17 13:03:17 +02:00
2011-09-24 15:13:25 +02:00
2011-09-27 18:52:19 +02:00
2011-09-21 13:35:00 +05:30
2011-09-24 10:14:05 +02:00
2011-09-29 10:44:07 +05:30
2011-09-24 11:07:23 +02:00
2011-09-17 13:03:17 +02:00
2011-09-29 10:42:11 +05:30
2011-09-17 13:03:17 +02:00
2011-09-27 18:52:19 +02:00
2011-09-17 13:03:17 +02:00
2011-09-17 16:30:16 +02:00
2011-09-17 13:03:17 +02:00
2011-10-01 12:33:01 +02:00
2011-09-13 15:28:43 +02:00
2011-09-17 14:18:17 +02:00
2011-09-26 00:20:14 +02:00
2011-10-03 11:07:09 +02:00
2011-09-07 14:37:03 +02:00
2011-09-20 14:28:20 +02:00
2011-09-22 05:02:01 +02:00