'list' checkbox doesn't work
bec - July 8, 2008 - 20:49
| Project: | FileField |
| Version: | 6.x-1.0-beta2 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
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.

#1
I'm using CCK 6.x-2.0-rc3 :)
#2
I confirm this behavior too. CCK 6.x-2.0-rc3 and "always list files" unchecked.
#3
Fixed 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!
#4
Thanks for the fix!
#5
Automatically closed -- issue fixed for two weeks with no activity.