summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/data_export.js
diff options
context:
space:
mode:
authorMartin Trigaux <mat@openerp.com>2014-05-21 19:12:37 +0200
committerMartin Trigaux <mat@openerp.com>2014-05-21 19:12:37 +0200
commita096ae0080bc6555a8b832e87d4de6b827257304 (patch)
treee106b16d4fbf0d454963ce09855b97848edf2e80 /addons/web/static/src/js/data_export.js
parent2cc28ce65b56d031a4ff50fc80946111a4a4bb8b (diff)
[FIX] http: force rolleback for failed http request
1st issue: When an exception was raised, it was badly handled by the website in case of website_enabled key. The response page was generated without calling super. The WebRequest object being responsible to rollback the transaction in case of errors. 2sd issue: The _failed attribute is required to rollback the transaction in an WebRequest object. Previously it was only set in the JsonRequest object (which inherit from WebRequest), replace by call to super. The attribute _failed is now set in the WebRequest object.
Diffstat (limited to 'addons/web/static/src/js/data_export.js')
0 files changed, 0 insertions, 0 deletions