Defect #1640
closedCustom boolean field ignoring default value setting
0%
Description
A custom field of type 'boolean' is displayed as checked/true in the "New Issue" page even though it's default is false/unchecked in the field's properties page. If I look at the custom_fields table in MySQL I can see that the default_value field for the property is 0, so it appears to be saved correctly there.
This is a custom field that was added in the "Custom fields" page, it did not come over from a migration of any sort.
Redmine is running with via a mongrel cluster setup through Apache2.
Software information:- db version: mysqld Ver 5.0.51a-3ubuntu5.1 for debian-linux-gnu on i486 ((Ubuntu))
- ruby version: ruby 1.8.6 (2007-09-24 patchlevel 111) [i486-linux]
- rails version: Rails 2.1.0
- redmine version: Redmine 0.7.devel.1645 (MySQL)
I would be more than happy to provide any more information that I can about this issue.
Updated by Jean-Philippe Lang almost 17 years ago
- Status changed from New to Resolved
- Resolution set to Fixed
This should be fixed in r1668.
Can you confirm ?
Updated by Guy Kaiser almost 17 years ago
Updated by Jean-Philippe Lang almost 17 years ago
- Status changed from Resolved to Closed
I apologize for not attempting to update to a newer revision before filing this issue. :)
You don't have to apologize, it wasn't fixed before you reported this problem :-)
Thanks for the feedback.