TBClosed: Recent 1.x Changeset on Taxonomies fails migration



The ' Making IsInternal a update to make sure everyone has it.' should be try/catched in the event we already have this column....

2013-06-20 07:22:29,069 [7] Orchard.Data.Migration.DataMigrationManager - An unexpected error occurred while applying migration on Orchard.Taxonomies from version 2
System.Reflection.TargetInvocationException: Une exception a été levée par la cible d'un appel. ---> NHibernate.Exceptions.GenericADOException: could not execute native bulk manipulation query:alter table "Orchard_Taxonomies_TaxonomyPartRecord" add "IsInternal" BIT null[SQL: alter table "Orchard_Taxonomies_TaxonomyPartRecord" add "IsInternal" BIT null] ---> System.Data.SqlServerCe.SqlCeException: A column ID occurred more than once in the specification.
Closed Jun 25, 2013 at 8:23 PM by sebastienros


psenechal wrote Jun 20, 2013 at 6:05 PM

This is a duplicate of the issue I reported yesterday. As a follow up, it doesn't appear to just be Taxonomies. It looks like all migration updates are currently failing. I have a theme with an initial migration to create a table and it is failing.

CSADNT wrote Jun 20, 2013 at 6:13 PM

For me its Ok, if you read what Nicolashas been doing, he forced the creation to be sure everybody has it, not the best way to behave, so just put a try catch and it's OK
No other migration problems with this version.