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?.

6
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

Revision history for this message
Borja López Soilán (NeoPolus) (borjals) wrote :

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).

Revision history for this message
Samantha (samantha-z-mathews) wrote :

Fooops,
i hv got one, its severe assertion failure !

Changed in openobject-server:
status: New → Confirmed
Changed in openobject-server:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.