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

becw’s picture

I'm using CCK 6.x-2.0-rc3 :)

Antoine Lafontaine’s picture

I confirm this behavior too. CCK 6.x-2.0-rc3 and "always list files" unchecked.

jpetso’s picture

Status: Active » Fixed

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!

becw’s picture

Thanks for the fix!

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.