summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorDenis Ledoux <dle@odoo.com>2017-03-02 17:53:00 +0100
committerDenis Ledoux <dle@odoo.com>2017-03-02 17:59:22 +0100
commit95d32633383c4af7a26a9e4a4376c5bc3a6f0de8 (patch)
treea8c5559ffe22a8b676a2ec26e21d32adb2c4e9a2 /addons/web/static/src/js/views/basic/basic_controller.js
parent28ea1bcb5a5e5f9349b6c03310504c3bfd2abd0a (diff)
[FIX] web_editor: change of iframe URL on record loaded
When changing of record, through the pager or the breadcrumb, the URL of the iframe must change, as the model and id of the record is included in the URL This wasn't done before this revision, and it could lead to an INTERNAL SERVER ERROR in case of a deletion followed by the loading of another record: the URL of the iframe was still set to the former record, and this URL crashed as the record no longer existed. e.g. - Create a new mass mailing, subject 1, add a random block in the content then save - From this newly created mass mailing, Create a new mass mailing (directly with the create button) Subject 2, add a random black in the content and save - Delete the second mass mailing - Return in the mass mailing kanban view through the breadcrumb - Open the mass mailing 1 - You had an internel server error, due to the fact the URL of the iframe was still the one of the second mass mailing. opw-710239
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions