summaryrefslogtreecommitdiff
path: root/doc/reference/javascript_reference.rst
diff options
context:
space:
mode:
authorXavier-Do <xdo@odoo.com>2019-10-31 10:56:06 +0000
committerXavier-Do <xdo@odoo.com>2019-10-31 13:56:19 +0000
commitfe0da16a24035810c773fce4b046cafbab768256 (patch)
tree3fdf9f37d2e58f7b4beca1c07ce241fc42544e0e /doc/reference/javascript_reference.rst
parent6bc1de5276f73d9ab63b396b6e403d3606a5ef6c (diff)
[FIX] http_routing: revert b6ed34e1 and check _rewrite_len
Initial b6ed34e1 idea was to ensure that we always have _rewrite_len and _routing_map defined. Unfortunately, this is not correct since class attribute defined dynamically are actually added in registry, and recomputed on each install. More than that, the call si shared between multiple database meaning that routing_map cache may be shared between multiple database whcich is not correct. After b6ed34e1, when installing discuss on a fresh database without demo, all discuss routes will be unknown since None is already in _routing_map and thus routing_map is not recomputed. When routing_map is on the model class, in registry, a new install will reset the class, remove the _routing_map attribute, which will fix the problem. Task #2117275 closes odoo/odoo#39640 Signed-off-by: Xavier Dollé (xdo) <xdo@odoo.com>
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions