Closed (fixed)
Project:
FileField
Version:
6.x-1.0-beta2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Jul 2008 at 20:49 UTC
Updated:
31 Jul 2008 at 04:47 UTC
Next to the files, there is a "list" checkbox that should allow users to make their files "unlisted" (invisible except on the node edit form)... right?
This checkbox doesn't get saved when I save my nodes; and when I unset the value in the database, the file is still listed when viewing the node (though in the edit form, the checkbox does show as unchecked). I have "always list files" unchecked for that field's configuration.
Comments
Comment #1
becw commentedI'm using CCK 6.x-2.0-rc3 :)
Comment #2
Antoine Lafontaine commentedI confirm this behavior too. CCK 6.x-2.0-rc3 and "always list files" unchecked.
Comment #3
jpetso commentedFixed in CVS HEAD (future beta3). The reason for that bug was that the Form API obviously doesn't pass the value if the "List" checkbox is disabled, it only passes it when the checkbox is enabled. However, filefield needs to distinguish between "enabled", "disabled" and "checkbox doesn't exist at all", so I needed to insert some extra code to make this work as expected.
Thanks for the report!
Comment #4
becw commentedThanks for the fix!
Comment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.