1. If time stamp is set without default value, I get a notice:
Notice: Undefined index: timezone in date_field_validate() (line 330 of /sites/all/modules/date/date.field.inc).

2. If default value is set for "Now", I get a crash:
CRASH: PHP segmentation violation in date_field_validate() called at [/sites/all/modules/date/date.field.inc:332], in date_field_validate() called at [/modules/field/field.attach.inc:198], in _field_invoke() called at [/modules/field/field.attach.inc:766], in field_attach_validate() called at [/modules/field/field.attach.inc:815], in field_attach_form_validate() called at [/includes/common.inc:7654], in entity_form_field_validate() called at [/modules/node/node.pages.inc:77], in node_form_validate() called at [/includes/form.inc:1430], in form_execute_handlers() called at [/includes/form.inc:1371], ..., in call_user_func_array() called at [/includes/menu.inc:503], in menu_execute_active_handler() called at [/index.php:21]

Comments

AndrzejG’s picture

Status: Active » Closed (works as designed)

OK.

Both errors appear only when the settings of default date are changed AFTER at least one node has been saved.

AndrzejG’s picture

Status: Closed (works as designed) » Needs work

Reopen.
Probably default date should also been dimed and locked after saving the first node, such as hours-mins... and timezone do.

AndrzejG’s picture

Hmm,
Error #2 occurs only when a timestamp field has a default value and is hidden using Node Form Columns.

Continuing research.

tim.plunkett’s picture