Custom Site setting not persisting date type

Topics: Troubleshooting
Jun 28, 2012 at 12:42 AM


I've added some of my own settings and am seeing some strange behavior. When one of the settings is of type DateTime that record won't successfully save to the database. I'm able to pull up the settings page, see the setting, update the setting and it reports success and I see no errors, but it is not persisting to the database. As soon as I remove the setting that is a date time the rest of the fields on the record are persisted successfully.

Any ideas or suggestions (other than making everything strings...) would be much appreciated.


Jun 28, 2012 at 5:11 AM

Set a breakpoint in the driver and find out.