summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/base.xml
diff options
context:
space:
mode:
authorJeremy Kersten <jke@odoo.com>2020-08-12 07:38:12 +0000
committerJeremy Kersten <jke@odoo.com>2020-08-12 09:43:15 +0000
commit84362314cb9877d2e5552eb1c13f36743f01a991 (patch)
treeafae365bfd7800a6808b0479c20cbf5e7de2edc3 /addons/web/static/src/xml/base.xml
parentd0bf6192d2091d1b7eb4c1cc771b46e34e6c78ac (diff)
[FIX] website: handle 404 publisher only for notFound exception
Before this commit we cehck first if user was publisher before to check if the exception was a 404 NotFound. What's means that we make this check (1 query sql) most of the time for no reason, and worst case, when the exception crashes the cursor, this check will reraise a new exception because isPublisher check is done with a closed cursor. closes odoo/odoo#55789 X-original-commit: 8afa25a9ca3b165033ab664ce3185c453fb2dd85 Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
0 files changed, 0 insertions, 0 deletions