install + update: error in xml prohibts serverrestart
Bug #754373 reported by
Ferdinand
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Confirmed
|
Wishlist
|
OpenERP's Framework R&D |
Bug Description
if for some reasons (coding or reference error) loading of xml fails the module remains in state "to be installed/updated" and the server does not restart any more
IMHO a better and more userfriendly solution would be to set all modules to be installed/updated to a safe state "uninstalled" if a xml loading error occurs
or to allow the server to reastart without loading
Changed in openobject-server: | |
assignee: | nobody → OpenERP's Framework R&D (openerp-dev-framework) |
importance: | Undecided → Wishlist |
status: | New → Confirmed |
To post a comment you must log in.
On Friday 08 April 2011, you wrote:
> Public bug reported:
>
> if for some reasons (coding or reference error) loading of xml fails the
> module remains in state "to be installed/updated" and the server does
> not restart any more
>
> IMHO a better and more userfriendly solution would be to set all modules to
> be installed/updated to a safe state "uninstalled" if a xml loading error
> occurs or to allow the server to reastart without loading
That is a long-known issue.
I prefer to leave it as it is, now.
Because, on the other hand, if you load /half/ of your modules (to a running
db, not a new one), you may get different behaviour of your system..
Take the case of stock_no_ auto_picking. Would it be reasonable to continue
working with a server that was supposed to load that module and it failed?
I think you also need another remark here:
Instead of reloading the server all the time (on a development environment),
you can use the base_module_import addon[1] to safely test your xml files.
[1] only found on my tree, use with care, please!
--
Say NO to spam and viruses. Stop using Microsoft Windows!