As in discussion 403777:
Steps to reproduce:
1) Create a clean default installation of Orchard
2) Install the attached module. This will make a Scheduled Games Container widget available
3) Add the Scheduled Games Container to a page. Note that the Number of Games To Show property is displayed on the editor screen for the widget. Set this property to a valid integer
4) Check that the value of the property has saved, and that it is displayed on the front end page that you added the widget to.
5) Look at the source for the module, and make the following changes:
- Uncomment line 12 of the Record
- Uncomment lines 20-24 of the Part
- Uncomment line 4 of the View
- Uncomment lines 8 & 9 of the Editor Template
- Uncomment the method UpdateFrom1() in the Migration
- Uncomment line 31 of the Driver (you may need to move the comma onto the previous line as well)
6) Go back to the editor screen for the widget you added in step 3. Note that a new property (Skin) has been added
7) Check the migration record in the database, and that the new column for Skin has been added to the table MigrationTest_ScheduledGamesContainerRecord
== Up to now, Orchard has behaved as expected ==
7) Set the Skin property to any string value, and save the changes.
8) Go back into the editor screen for the widget- the new Skin property has not been persisted
9) Check the database and the value for the new property will be null