Defect #8167

Custom field of 'list' type always fail validation

Added by Marcus Ilgner almost 12 years ago. Updated about 11 years ago.

Status:NewStart date:2011-04-16
Priority:NormalDue date:
Assignee:-% Done:


Category:Custom fields
Target version:-
Resolution: Affected version:1.1.0


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 = => self.clone, :value => *self*.default_value, :customized => nil)

everything seems to work fine now.


#1 Updated by Etienne Massip almost 12 years ago

Do you have any plugins installed ?

#2 Updated by Marcus Ilgner almost 12 years ago

A few but none that should interfere with issue tracking and/or custom fields as far as I can see from their code.

#3 Updated by Samuel Triaud about 11 years ago

I got the same issue.
Redmine 1.3, no plugins.

If I destroy this issues' custom filed and re-create it, I did not encounter anymore this issue.

Also available in: Atom PDF