summaryrefslogtreecommitdiff
path: root/addons/web_graph/static/lib/dhtmlxGraph/codebase/thirdparty/excanvas
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2011-10-03 11:07:09 +0200
committerXavier Morel <xmo@openerp.com>2011-10-03 11:07:09 +0200
commita9da2abd9f2ebcf1ecb548c683c8aeeaa7ffb72e (patch)
treebe75edf6923e9acd99a9078ad3448b6703b87221 /addons/web_graph/static/lib/dhtmlxGraph/codebase/thirdparty/excanvas
parentbb596c1bfcd4bb386575f4a36bea264f00597861 (diff)
[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
Diffstat (limited to 'addons/web_graph/static/lib/dhtmlxGraph/codebase/thirdparty/excanvas')
0 files changed, 0 insertions, 0 deletions