Closed (fixed)
Project:
Scheduler
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Oct 2008 at 17:37 UTC
Updated:
18 Nov 2008 at 18:01 UTC
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 )
| Comment | File | Size | Author |
|---|---|---|---|
| form_validater_scheduler.patch | 919 bytes | greggles |
Comments
Comment #1
yang_yi_cn commented+1 for that.
Comment #2
eric-alexander schaefer commentedhttp://drupal.org/cvs?commit=150443
Thanks Greg!
Comment #3
eric-alexander schaefer commentedThe 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
Comment #4
eric-alexander schaefer commentedFixed in 6.x-1.3