summaryrefslogtreecommitdiff
path: root/doc/reference/javascript.rst
diff options
context:
space:
mode:
authorSimon Lejeune <sle@openerp.com>2016-02-29 14:52:30 +0100
committerSimon Lejeune <sle@openerp.com>2016-03-03 17:38:20 +0100
commit9631a30228e78f8cf1405e28b8415936337fcd55 (patch)
tree7e31319dc2db837f5b26fe83a718aeeae2ed6a37 /doc/reference/javascript.rst
parent0806506c9c9a8fc661a1aee187eac273d29e3621 (diff)
[FIX] ir_qweb: don't use a stylesheet cached by another bundle.
An issue could arise if a preprocessed stylesheet asset is present in multiple bundles: the first bundle will cache a version of this file (identified by its url) and the second one will cache another one. The next time the first bundle is rendered in debug mode, it will use the last created record of the asset. This could lead to design issues as, for instance, a less asset could change according to another less asset included in the bundle. We fix this issue by adding the xmlid of the bundle in the url's asset. This fix another inconsistency as the compiled version of an asset is reachable with an url that is not dependent of its bundle, so if the asset is present in multiple bundle it could return different values. Note: this only concern the debug mode
Diffstat (limited to 'doc/reference/javascript.rst')
0 files changed, 0 insertions, 0 deletions