Actions
Defect #7490
closedissue's custom field string length check
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Custom fields
Target version:
-
Start date:
2011-01-29
Due date:
% Done:
0%
Estimated time:
Resolution:
Duplicate
Affected version:
Description
In Ruby 1.8, a String is always just a collection of bytes.
in, app/models/custom_value.rb
value.length show byte number.
I rewrote there in value.chars.length.
Is it suitable?
- My Ruby version : 1.8.6
- My redmine version : 1.1.0
- My database version : MySQL 5.0
Related issues
Updated by Jean-Philippe Lang over 12 years ago
- Status changed from New to Closed
- Resolution set to Duplicate
Actions