I kept getting php errors with the 6.x version whenever I tried to create a node scheduled to be published:

Array to string conversion in /opt/local/apache2/htdocs/man/includes/form.inc on line 766.

Digging into form.inc, the scheduler validate function was being added to the array in an unexpected manner.

Array ( [0] => node_form_validate [_scheduler_form_validate] => Array ( ) )

Attached patch adds it in the expected manner.

Array ( [0] => node_form_validate [1] => _scheduler_form_validate )

CommentFileSizeAuthor
form_validater_scheduler.patch919 bytesgreggles

Comments

yang_yi_cn’s picture

+1 for that.

eric-alexander schaefer’s picture

Status: Needs review » Fixed
eric-alexander schaefer’s picture

The registration of the validation function is superfluous since the function is long gone... (validation is done via hook_nodeapi('validate')).
http://drupal.org/cvs?commit=150605

eric-alexander schaefer’s picture

Fixed in 6.x-1.3

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.