diff options
| author | odony <odo@openerp.com> | 2014-06-25 16:08:19 +0200 |
|---|---|---|
| committer | odony <odo@openerp.com> | 2014-06-25 16:08:19 +0200 |
| commit | bac08227e28fcd8fb16ea173308761ff1a8ad6f3 (patch) | |
| tree | 7969558f2a16302da37b668df487405bcfb7099a /addons/web/static/src/xml/base.xml | |
| parent | a66f3dd99243ee87281b3e44c9fc202609e34f49 (diff) | |
| parent | f988d7503537990b31b9e643e3d69ae7e27b1375 (diff) | |
Merge pull request #761 from odoo-dev/saas-3-handle-exception-fme
[FIX] _handle_exception() logic amongst requests and ir_http objects
Changes in website's ir_http#_handle_exception():
* exception is mandatory, can't be None anymore
* we don't touch non website_enabled requests
* we don't touch explicits plain responses from parent
* logic flow is now easier to read (I hope so)
* check for openerp's AccessError and convert to 403 errors
Change in website's ir_http#_dispatch():
* In case of real 404, instead of returning self._handle_exception(), just let parent do the job (so we call super())
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
0 files changed, 0 insertions, 0 deletions
