summaryrefslogtreecommitdiff
path: root/addons/test_website/data/test_website_data.xml
diff options
context:
space:
mode:
authorJeremy Kersten <jke@odoo.com>2021-01-11 11:43:27 +0000
committerJeremy Kersten <jke@odoo.com>2021-01-11 12:01:06 +0000
commit10c8ce2ea64197648287ac861b1e250a14bd9a70 (patch)
treebacd95a9d978c2e0bf5d36e689664c761d6dfd3c /addons/test_website/data/test_website_data.xml
parent16d3427f17493bf7bacdee85b255476f93747d35 (diff)
[FIX] website: fix slug_matching RequestUID
Before this commit, try to access original route that has been configured with a redirect 308 will crash with an exception: psycopg2.ProgrammingError: can't adapt type 'RequestUID' sudo() from PR v10 has been converted to new with_user system without check. When we replace during review sudo by with_user, we don't reproduce it because we always try to access /mag/<product> instead of /shop/<product> How to reproduce: Add a 308 from /shop/<product> to /mag/<product> Try to access /shop/<product> will crash with: psycopg2.ProgrammingError: can't adapt type 'RequestUID'
Diffstat (limited to 'addons/test_website/data/test_website_data.xml')
0 files changed, 0 insertions, 0 deletions