After saving a record with date, the record is saved. Afterward the save operation, the textbox displaying the date is sometimes cleared and does not show the date that was just saved. The record seems to be saved properly though.

This does not seem to be happening in all cases. The error seems to appears often 1 out of 3 tries but randomly.

I am also using date-6.x-2.0-rc6, views-6.x-2.x-dev, and cck-6.x-2.x-dev modules

Comments

arcane’s picture

If I save the record again, the date value will be deleted from the record and has caused the event to be removed from the calendar.

arcane’s picture

I updated to module date-6.x-2.1 and I get the same behavior. In addition I get the following warnings:

warning: date_timezone_set() expects parameter 1 to be DateTime, null given in /var/www/my.site.com/public_html/sites/all/modules/date/date_api_ical.inc on line 568.
warning: date_format() expects parameter 1 to be DateTime, null given in /var/www/my.site.com/public_html/sites/all/modules/date/date_api_ical.inc on line 654.
warning: date_timezone_set() expects parameter 1 to be DateTime, null given in /var/www/my.site/public_html/sites/all/modules/date/date_api_ical.inc on line 568.
warning: date_format() expects parameter 1 to be DateTime, null given in /var/www/my.site.com/public_html/sites/all/modules/date/date_api_ical.inc on line 654.

However, both behaviors (empty date box after save, and above warnings) are generated consistently with every save (where as it used to be random)

agileware’s picture

Status: Active » Closed (won't fix)

This is a problem in the Date API see #377676: form_state appears to be incorrect. At this stage of the game, it's a blocker to having dates working in Editview.

arcane’s picture

ok, thanks for the update, I guess I'll try a work around using a computed field that returns a string..to show on the form and avoid editing the date.

sinasalek’s picture

I'm unable to see post and update date fields in edit list. EditView shows the title but the column is blank. any idea?