Error when trying to delete entries
maxp76 - January 30, 2007 - 11:37
| Project: | Webform |
| Version: | 5.x-1.x-dev |
| Component: | User interface |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed |
Description
[sorry for my english ;-) ]
Hello to everybody,
I've got an issue with webform 5.x in junction with Drupal 5 - 5.1 .
When I try to delete webform's submitted entries, the sistem return an error :
"warning: call_user_func_array(): First argumented is expected to be a valid callback, 'delete_submission' was given in /var/www/vhosts/bioanchio.it/httpdocs/includes/form.inc on line 218."
I've searched on Goglee, but no answer. Also I've searched this on Drupal.org but no lucky!..
Instead of it, I've used webform 4.7 on drupal 4.7 without this problem.
Can Anybody help me?
Thank you very much.
Masismo

#1
I've experienced the same problem. I believe that it is due to an incomplete port of this feature to the Drupal 5.x form API. I figure it should be a matter of replicating the confirmation process used in the "clear" results function. Unfortunately, I haven't had the time to look into it too hard. Sorry, that's probably not much help to you.
#2
I am experiencing the same thing. PLEASE help!
#3
This patch updates the "delete" function to work with Drupal 5's FormAPI. I've also included a fix for the "clear" function "cancel" url redirecting to a 404.
#4
This patch does not seem to work. It is not possible to patch using it. :(
#5
Just to clear things up - I use
patch -p0 FILENAMEas I usually do via SSH, but it dies not execute.#6
Thank you for this patch, it was fine for me.
I patched the original files locally on my PC (webform.inc, webform.module with “patch.exe” for Windows than copied to the server.
Now delete feature works well.
Zs
#7
This should be committed back into the module itself. Can someone review whether the patch still applies to HEAD and patch accordingly?
#8
patch applies to HEAD. The patch worked for me as well.
#9
Thanks nelson_rp for the patch! It works great and has been committed to the 5.x branch.
#10
Hello to everybody,
I've just tried Drupal 5.1 with Webform 5.x-1.x-dev , on a XAMPP envirorment, and the error does'n appear!
Thanks to everybody.
Massimo
#11