summaryrefslogtreecommitdiff
path: root/addons/google_docs/static/src/xml
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2012-10-29 19:07:42 +0100
committerOlivier Dony <odo@openerp.com>2012-10-29 19:07:42 +0100
commit485e4374409794be1d2baef4d813f8d351578859 (patch)
tree64df8a6376cf3e93617c214b3a07d9ef4be58c2d /addons/google_docs/static/src/xml
parent290baa5be7484f5c235582ed7ce6a82e505ac1c5 (diff)
[FIX] orm: _validate should not immediately rollback
For some obscure reason _validate used to immediately rollback the current transaction as soon as a constraint failed anywhere. This is completely incorrect and violates the transaction abstraction: the responsibility of creating and closing transactions belongs to the RPC dispatch layer, or whatever takes its place (e.g. the test setup/teardown for tests). Rolling back or committing in the middle of a transaction precludes special error treatment and can have very bad side effects. bzr revid: odo@openerp.com-20121029180742-2gw08kobdh7w5njc
Diffstat (limited to 'addons/google_docs/static/src/xml')
0 files changed, 0 insertions, 0 deletions