silverstripe-australia/advancedworkflow — pull request #66 by phptek (2012-11-22 02:03:50+00:00)
Title: Issues/47 b

This is the least that can be done to improve the UI of this functionality and satisfy Luke's comments in #47.

Apart from going the whole-hog re: the comments from Hamish and Marcus re Versioned and Published, some validation could be added to the DesiredPublishDate field, that checks if an existing PublishOnDate date exists and if it is still in the future. If it was, an error message could be shown suggesting the user wait until the pending embargo-date had passed, before adding a new one.

A 75% solution can be found here: https://github.com/phptek/advancedworkflow/commits/issues/47-C - but the last 25% would require some hefty sub-classing of Date/TimeFields to add even some basic, additional validation AFAIKT.