I was able to track down why I could not upload files. The page break issue is the problem. If there is more than one page, and the file upload is not on the page with the submit button, the system seems to not cache the information. However, the rest of the information is added to the database and emailed. This is definitely a bug.

CommentFileSizeAuthor
#4 webform_file_pagebreak.patch19.22 KBquicksketch

Comments

quicksketch’s picture

Priority: Critical » Normal

Thanks, this is a known issue. You're currently warned that the file component will not work on multipage forms when you insert a pagebreak component. It's going to take some tricky work to get files working on multipage forms, but yes I'd agree: it's a bug.

quicksketch’s picture

Version: 5.x-2.x-dev »

This will not be fixed in the 2.x version of Webform, considering it would require extensive reworking of the File Upload component. Moving to the 3.x queue.

bgildea’s picture

I would like to see this fixed... Thanks.

quicksketch’s picture

Status: Active » Needs review
StatusFileSize
new19.22 KB

This patch finally corrects the behavior of File uploads. It makes it so that uploads are successfully handled between pages upon clicking any button (Previous, Next, Save as Draft). Now that we're on a Drupal 6 and higher version, we're also able to convert submission data to using File IDs (FIDs) instead of serialized data, so we can later do better Views integration in #680386: Views integration for the webform_submitted_data table.

quicksketch’s picture

Title: File Upload Doesn't Work With Page Break » File Upload Doesn't Work With Page Break -- Upgrade File Component to use FID values instead of file arrays
Status: Needs review » Fixed

Committed.

Status: Fixed » Closed (fixed)

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