LinuxDoku / migratordotnet

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

Nant migrate task doesn't support migrating to long timestamp-style versions #83

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
1. Write a migration that uses a version number that is greater than maxint
2. add a Nant task that uses the "to" property to migrate to that long version

Expected: migrator would migrate to that version.
Actual: migrator nant task throws the following exception:
'20081218104900' is not a valid value for attribute 'to' of <migrate ... />.
    Value was either too large or too small for an Int32.

I have attached a patch that fixed it for us, it was a simple matter of
just updating the migrator Nant task to long; MigrateTo() already supports
longs so no further modification was required.

Original issue reported on code.google.com by sean.sca...@gmail.com on 6 Jan 2009 at 6:02

Attachments:

GoogleCodeExporter commented 8 years ago
SVN 128

Fix NAnt Migration task for long support.
Thanks sean.scally.

Original comment by geoffl...@gmail.com on 14 Jan 2009 at 11:18