Issue 77: PATCH Bootstrap rake task fills the plugin schema version wrong
Status:  Fixed
Owner: ----
Closed:  Jun 2008
Reported by edmundo...@gmail.com, Apr 18, 2008
What steps will reproduce the problem?
1. Run rake substruct:db:bootstrap
2. Look at the table plugin_schema_info

What is the expected output? What do you see instead?
The table should have a record where the version should be the last
migration inside the plugin. The version isnt the last migration.

What version of the product are you using? On what operating system?
trunk. Ubuntu 7.10

Please provide any additional information below.
The rake task pick up the last migration from a collection of files and
parse its number to fill this record, but instead it should sort the
collection first.

Follows a patch.

Now we can do this, the next time a migration is added:

script/generate plugin_migration

It will generate a local migration with the right plugin version difference
from the current schema version.
plugin_schema_version.patch
849 bytes   View   Download
Jun 15, 2008
Project Member #1 subim...@gmail.com
Fixed - r102
Status: Fixed
Jun 15, 2008
Project Member #2 subim...@gmail.com
Fixed - r102