Unless there's a good reason for them which I could perfectly miss, the drupal_goto's handling form redirection in webform_client_form_submit should probably be removed in favor of the recommended $redirect return value.

As is, they break the submission process and forbid any subsequent submit handler.

CommentFileSizeAuthor
#1 webform.module_5.patch1.02 KByched

Comments

yched’s picture

Status: Active » Needs review
StatusFileSize
new1.02 KB

While I'm at it, here's a patch

quicksketch’s picture

Status: Needs review » Fixed

Applied. Thanks yched, this fixes a ton of problems!

yched’s picture

yep, saw that ;-)

simmerz’s picture

Yes, that seems to solve the problems I was seeing too! Many thanks for the patch!

simmerz’s picture

Status: Fixed » Active

Clearly I spoke too soon. It worked a couple of times that I amended the webform, and it has now lost the content from the cck fields again - I can't seem to get them back at all, despite entering the information again.

simmerz’s picture

I updated to -dev and this branch works ok. so there must be additional changes not present in the patch above.

yched’s picture

Status: Active » Fixed

fixed, then ;-)

Anonymous’s picture

Status: Fixed » Closed (fixed)