Server fails when xml test raises an exception
Bug #540298 reported by
Numérigraphe
This bug report was converted into a question: question #135240: Why does server stop when xml test raises an exception?.
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
The 5.0.7 server stops if you run it with parameter "-i some_module" and an exception is raised by xml tests (constraint violation for example).
Should it not report the error and keep running?
Lionel
Changed in openobject-server: | |
status: | Confirmed → Invalid |
To post a comment you must log in.
Also does stop if you do an --update=<module>.
For example if you have an unbalanced entry on the accounting, you'll discover that you cannot login to fix the problem from OpenERP, but have to use SQL instead.
Maybe he need two levels of 'exceptions':
- Critical ones (server must display the error and stop).
- And Errors (a warning should be displayed to the user when he logs in, but he should be able to log in to fix the problem).