Closed (works as designed)
Project:
Webform
Version:
7.x-4.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
7 Oct 2014 at 17:38 UTC
Updated:
31 Oct 2014 at 19:58 UTC
Jump to comment: Most recent
Comments
Comment #1
danchadwick commentedSounds like two unrelated issues. Can you please make a second issue and remove the second issue from this one? That way we can track each one.EDIT: Second issue was removed from the summary.
Comment #2
swickham commentedComment #3
swickham commentedDone, second issue can be found here - https://www.drupal.org/node/2356549
Comment #4
danchadwick commentedI looked briefly at this. The File component uses ajax, and ajax requires form caching. See drupal_build_form
It appears that the cache expiration is 6 hours. You can increase your cron frequency, but depending upon the rate of additions, your cache may grow at an alarming rate.
I think the solution for you would be to use a multi-page form, where the file components is not on the first page. If you avoid ajax, the form and form_state won't be cached until the form is submitted.
This seems to a be a Drupal-wide issue, affecting modules such as FiveStar and Commerce.