← Back to team overview

credativ team mailing list archive

[Merge] lp:~therp-nl/openupgrade-server/7.0-deferred_steps into lp:openupgrade-server

 

The proposal to merge lp:~therp-nl/openupgrade-server/7.0-deferred_steps into lp:openupgrade-server has been updated.

Description changed to:

Apparently, OpenERP 7.0 attempts to remove dropped columns and obsolete model's tables, triggered when an existing ir_model_data entry of the models 'ir.model' and 'ir.model.field' is not instanciated after a succesful module upgrade. That could be undesirable under certain circumstances, leading to data loss. Also, when whole models are missing there is the problem that the table cannot be retrieved anymore because this data is not in the database but only available from the instanciated model itself. This causes a lot of ugly errors in the log file. This branch logs the attempts to drop columns or tables but does not perform them.

Additionally, the deferred migration step is moved to a separate file and its call is optimized not to run at every pool initialization but only when at least some modules are being upgraded.

For more details, see:
https://code.launchpad.net/~therp-nl/openupgrade-server/7.0-deferred_steps/+merge/177858
-- 
https://code.launchpad.net/~therp-nl/openupgrade-server/7.0-deferred_steps/+merge/177858
Your team OpenUpgrade Committers is requested to review the proposed merge of lp:~therp-nl/openupgrade-server/7.0-deferred_steps into lp:openupgrade-server.


References