Steps to reproduce:
In a content type, create a date field with popup calendar, granularity from years to minutes and let the user optionally specify a "To date".
Try to add a new node of that content type with any "All day" date. Throws:
There are errors in MyDate value #1:
The dates are invalid.
Comments
Comment #1
karens commentedThis should be fixed now. The date combo validation needs to adjust the expected format for all day dates so they pass validation.
Comment #3
Yuri commentedSorry, but i installed the latest dev and still get this error.
Comment #4
arlinsandbulte commentedYuri, I cannot reproduce this.
What is your configuration set-up? Can you reproduce this with a clean install?
Comment #5
Yuri commentedI'm encountering this error when I use a date field in combination with the Multistep module. When saving the step all seems right but when saving another step of the same node, the error of 'The dates are invalid' appear.
A workaround is to disable the error message on production sites until this error has been dealt with.
So for now, I commented two lines out in line 531 532 of date.elements.inc:
Comment #6
arlinsandbulte commentedWell there is your answer, and axel.rutz has already pointed you to the correct issues to address this according to #1445286: File uploads and Date module input not saved when saving multistep
So this is not a Date issue.
This is actually a core issue that needs work here: #1205822: File(s) silently deleted when #access=false
Comment #7
Yuri commented'The dates are invalid' issue is not solved yet, as far as I can see. I suppose the last effort was axel.rutz's patch
http://drupal.org/node/1144074#comment-4442522
which is of May 2011 and can't be applied to the current version of the Date module (i.e. where is function date_combo_value_callback?)
And yes the other issue about the file uploads being deleted, that I tested and I consider as solved.