OpenUpgrade icon indicating copy to clipboard operation
OpenUpgrade copied to clipboard

end-migration scripts of already migrated modules are not executed after resuming a failing migration

Open pedrobaeza opened this issue 6 years ago • 3 comments

Impacted versions: All

Steps to reproduce: Migrate a DB, complete several module migrations (with end migration scripts), and fail it.

Current behavior: Resuming the migration after fixing the problem, end migration scripts for the already migrated modules are not executed.

Expected behavior: They should be.

It's worth to note that Odoo is also contemplating to allow to resume migrations in https://github.com/odoo/odoo/pull/32634, and they have faced also the end-migration problem.

@Tecnativa

pedrobaeza avatar Jun 11 '19 09:06 pedrobaeza

@hbrunn @StefanRijnhart what do you think about this?

pedrobaeza avatar Jun 11 '19 09:06 pedrobaeza

I'd wait to see what upstream does and backport that if it's not totally convoluted

hbrunn avatar Jun 11 '19 09:06 hbrunn

Agree with @hbrunn

StefanRijnhart avatar Jun 11 '19 10:06 StefanRijnhart