sougatamondal / migratordotnet

Automatically exported from code.google.com/p/migratordotnet
0 stars 0 forks source link

ArrayOutOfBounds exception in MigrateAnywhere.cs #62

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Get and compile rev 115 from trunk
2. Create a blank migration project with a single migration
3. Try "up"

What is the expected output? What do you see instead?

Expecting the first "up" step of the migration to be executed, creating
whatever is defined in it.

Instead, an ArrayOutOfBounds exception is thrown in MigrateAnywhere.cs,
line 20.

What version of the product are you using? On what operating system? With
what .NET implementation/version?

trunk rev 115

What database and version are you seeing this issue on?

Please provide any additional information below.

Fixed this by changing MigrateAnywhere.cs, line 19 from
if (_availableMigrations.Count > 0) {
to
if (provider.AppliedMigrations.Count > 0) {

Original issue reported on code.google.com by tom...@gmail.com on 27 Aug 2008 at 11:55

GoogleCodeExporter commented 8 years ago
oops, sorry, duplicate.

Original comment by tom...@gmail.com on 27 Aug 2008 at 11:56

GoogleCodeExporter commented 8 years ago
http://code.google.com/p/migratordotnet/issues/detail?id=54

Original comment by simone.b...@gmail.com on 27 Aug 2008 at 4:08

GoogleCodeExporter commented 8 years ago
Duplicates: Issue 54

Original comment by geoffl...@gmail.com on 27 Aug 2008 at 4:45