Closed (fixed)
Project:
Webform
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Dec 2006 at 17:47 UTC
Updated:
22 Jun 2008 at 03:12 UTC
If a webform has a file field in it, and you clear all the results from a form (maybe due to testing...) it appears that all the files located in files/xxxxx/webform/ remain. They should also be cleared away to avoid a big build up of clutter.
Comments
Comment #1
ciperl commentedI'm also having this problem, I have no way of deleting any of the files submitted through webform.
Comment #2
quicksketchMarked http://drupal.org/node/207652 as duplicate.
Comment #3
pwolanin commentedseeing this too.
Comment #4
david777 commentedHas anyone had any resolution to this problem? I'm stuck on it as well...
Comment #5
quicksketchI finally got around to cleaning this one up. The trouble was that Webform didn't provide any sort of "delete" hook to components, so the file component had no way of deleting those files that got stored.
So this new version finally cleans out files, but unfortunately there's no way to know what files are deletable after clearing the results from previous versions.
http://drupal.org/cvs?commit=120124
Comment #6
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.