Closed (fixed)
Project:
Webform
Version:
5.x-2.1.3
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Jul 2008 at 10:31 UTC
Updated:
20 Sep 2008 at 00:52 UTC
Jump to comment: Most recent file
Comments
Comment #1
quicksketchThe submission link was fixed in the 2.1.2 version. I'm not sure what you mean in your first request concerning "Web Images boxes", could you try out the 2.1.2 version and see if that problem still exists?
Comment #2
chirale commentedThanks for the reply. Submission link now is ok. Problem deselecting Web Images on "Upload Filtering" (node/*/edit/components/*) on edit Webform page persists (screenshot attached).
Just try to deselect all gif, jpg and png types and save. Changes seems aren't applied for this types.
Comment #3
longwaveI'm also seeing this in 5.x-2.1.3. I only want to accept document file types, but deselecting all three Web Images checkboxes (gif, jpeg, png) has no effect - the checkboxes are reset to the previous settings.
Comment #4
longwaveActually, this applies to all the file type groups. Once you have selected any file type for a particular group, attempting to deselect all items in that group is ignored and resets the group to the previous settings.
Comment #5
longwaveI think I've tracked this down to the way the checkboxes are processed in _webform_edit_file_filtering_validate(). The attached patch appears to fix this issue for me.
Comment #6
chirale commentedThanks longwave, I've tried to deselect jpeg, gif and png to an existing webform element without any effect (same issue) on 5.x-2.1.3.
Comment #7
quicksketchThanks longwave! To my credit, it looks like a bug in Drupal 5's handling of checkboxes ;)
The checkboxes worked fine in Drupal 6 without the patch, but for consistency I applied it to both version. Thanks for the patch!
Comment #8
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.