diff options
| author | Olivier Dony <odo@openerp.com> | 2014-03-17 17:32:28 +0100 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2014-03-17 17:32:28 +0100 |
| commit | f0d4240082fd2dd9ad109bfd7e3caead27410aa3 (patch) | |
| tree | e86a0d6fbf3b35aad74383782daf7be300f2966b /addons/website/static/src | |
| parent | 4c5d238191de3bdd65078966e54885a37bead415 (diff) | |
[FIX] http dispatch: make sure transaction rollback happens in all cases when request handling raised (to be refactored)
Not doing so leads to cases where a transaction is committed
even after failing to validate a Python constraint.
This patch attempts to keep the rollback() logic next to the
corresponding commit(), and makes the rollback() more
explicit even if close() without commit() would also rollback
implicitly.
bzr revid: odo@openerp.com-20140317163228-zqbce8f0rgcg0pt4
Diffstat (limited to 'addons/website/static/src')
0 files changed, 0 insertions, 0 deletions
