bolt/bolt — pull request #2317 by rossriley (2014-12-13 11:28:42+00:00)
Title: [RFC] allow null dates for content

This can be left as a post 2.0 PR since it will probably have some repercussions across the codebase.

Take the following code:
$content = $storage->getContentObject('pages');
$storage->saveContent($content, 'pages');

It will currently fail on a not null datepublish constraint. Not setting a publish date should be an option since this is only required if you want timed publishing. The one below for depublish should also be changed to null by default but if everyone agrees on using null for date defaults then we can make the changes required across the rest of the codebase and push onto this PR branch.

thoughts?