-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request odoo#611 from odoo-dev/saas-3-really-fix-session-e…
…xpired-fme [MERGE] http routing: fix handle_exception logic and _authenticate exceptions * Better separate JsonRequest and HttpRequest handling for exceptions, so each type of request handles exception the right way. Previously HttpRequest would supersede JsonRequest in some cases and generate pure HTML responses where a JSON result was expected. * Also ensure that ir.http._authenticate() only raises two possible exception types, hiding any other kind of internal errors: - openerp.exceptions.AccessDenied - openerp.http.SessionExpiredException
- Loading branch information
Showing
2 changed files
with
26 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters