Custom field of 'list' type always fail validation
Trying to create a new custom field 'operating system' with some pre-defined values, we always received the message 'Invalid default value' during creation or 'invalid value' during bug submission.
After changing line 47 of app/models/custom_field.rb to read
v = CustomValue.new(:custom_field => self.clone, :value => *self*.default_value, :customized => nil)
everything seems to work fine now.