Im testing your D7-version (very nice module BTW!),
and when I save a node, which has DnDU activated, I get the following error, which appears on a totally white screen:
"Fatal error: Call to undefined function dragndrop_uploads_node_type_form_submit() in C:\Damp\Sites\drupal-7.0-alpha6\includes\form.inc on line 1157"
However, the node seems to have been saved just fine.

CommentFileSizeAuthor
#4 902356.patch553 bytesjelle_s

Comments

tsi’s picture

Confirm this is still an issue with beta1, the line is 1303 though.

tsi’s picture

jelle_s’s picture

bug still exists in latest dev version. Looking at the code, the function just isn't there, and since I don't know what it's supposed to do I couldn't really write a patch. But when I comment out line 75 of dragndrop_uploads.module ($form['#submit'][] = 'dragndrop_uploads_node_type_form_submit';) everything still seems to work...

jelle_s’s picture

Status: Active » Needs review
StatusFileSize
new553 bytes
kking’s picture

I've also ran into this issue on a fresh install of D7. I commented the function out just like #4 did.

jeffschuler’s picture

I got this error in D7 too.

There's the same submit handler with no function of that name in the stable D6 version, too. Doesn't this cause an issue there...?

petsagouris’s picture

There is no hook named like that. #4 has is right. I wonder what the intended use for this was. (Or even, was this put here by mistake?)

johnv’s picture

The line $form['#submit'][] = 'dragndrop_uploads_node_type_form_submit'; does look like a hook, but is a call-back.
I'd use an underscore, to indicate the 'private' nature.
You can use it as an extra hook to be called at submitting the data.
I can Imagine the date collected at drag&dropping still must be saved at the proper variable before saving the data.

BTW, ITMT i have switched to http://drupal.org/project/multiupload_imagefield_widget

deciphered’s picture

Status: Needs review » Fixed

Fixed in 7.x-1.x

Status: Fixed » Closed (fixed)

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