Actions
Defect #8167
openCustom field of 'list' type always fail validation
Status:
New
Priority:
Normal
Assignee:
-
Category:
Custom fields
Target version:
-
Start date:
2011-04-16
Due date:
% Done:
0%
Estimated time:
Resolution:
Affected version:
Description
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.
Updated by Marcus Ilgner over 13 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.
Updated by Samuel Triaud over 12 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.
Actions