exception in scheduled action doesn't rollback
Bug #697558 reported by
Tristan Hill
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Fix Released
|
Low
|
OpenERP's Framework R&D |
Bug Description
Step
* find or create a scheduled action that raises an exception
Expect
* when an exception is raised current transaction is rolled back
Actual
* when an exception is raised the database changes before the exception are committed
Issue appears on 5.0.15 and trunk 3213.
Related branches
Changed in openobject-server: | |
assignee: | nobody → OpenERP's Framework R&D (openerp-dev-framework) |
importance: | Undecided → Low |
status: | New → Triaged |
To post a comment you must log in.
Hello Tristan,
Your branch with the fix was merged in trunk server revision 3304 <email address hidden>, but with a small difference in the logging, as we are trying to update it to use pythonic logging as much as possible, and deprecating the legacy netsvc logger (discussed between Xavier and Chris on https:/ /code.launchpad .net/~halls/ openobject- server/ trunk-nobase- log-critical/ +merge/ 23547 for example).
For 5.0-stable we prefer not to change this, as this would not actually fix any bug that would not exist otherwise.
Thanks for the excellent bug report and contributed patch!