Migrations Issue In Azure

Topics: Writing modules
Aug 3, 2011 at 7:08 PM

I'm not sure if this is really specific to Azure, but when upgrading modules in Orchard while the site is running in Azure causes the migrations to run, but the record in the Orchard_Framework_DataMigrationRecord table only gets incremented by a value of 1 no matter how many updates run.

For example, our module was running on version 12 in Azure. New code was deployed and the new version was to be 16.  We were prompted that we needed up upgrade the module and did.  All of the migrations were run successfully, but the record in the Orchard_Framework_DataMigrationRecord table went from 12 to 13, when it should have been set to 16.

This all works fine in a local dev environment that we have and when the migrations run the Orchard_Framework_DataMigrationRecord is updated correctly without issue.

Is there maybe something obvious that would cause this to happen in one environment and not the other?

Thanks in advance,


Aug 3, 2011 at 7:15 PM

This sounds like a bug. Would you mind filing it in the issue tracker with clear repro steps? Thanks for reporting this.

Aug 3, 2011 at 7:51 PM

Thank you for responding so quickly.  I have created a bug for this.  The workitem number is 18060.