CCK 6--2-0-RC-6
Imagefield 6--3-0-ALPHA-2
Filefield 6--3--0-ALPHA-4
Public Download method
Number of Values: Unlimited
Default List Value: Listed
List Value: User Configurable
Description: Enabled

If I turn user-configurable off and save the node it works as expected, but with it on the form always saves '0' for the "List" checkbox.

#1 filefield_list.diff809 bytesdalin


dalin’s picture

Project:ImageField» FileField
Version:6.x-3.0-alpha2» 6.x-3.0-alpha4
Status:Active» Needs review
new809 bytes

Actually its a filefield bug and its not that it always saves '0', it always saves the opposite of what was selected by the user due to a slight logic error. Simple 1 line patch.

dalin’s picture

Title:Node form always saves "List" checkbox as '0'» Node form saves "List" checkbox as the opposite of what the user selected
drewish’s picture

Status:Needs review» Fixed

thanks, committed to HEAD.

Anonymous’s picture

Status:Fixed» Closed (fixed)

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