Project

General

Profile

Actions

Defect #6568

closed

Custom field min_length and max_length checks and multibyte strings

Added by Vitaliy Ischenko about 14 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Custom fields
Target version:
-
Start date:
2010-10-04
Due date:
% Done:

0%

Estimated time:
Resolution:
Wont fix
Affected version:

Description

If custom field contains multibyte string as a value, CustomValue.validate method will fail if byte length of string is out of range [min_length, max_length].

I've tried to use ActiveSupport::Multibyte::Chars and it fixed my case, but i don't know whether it is a right solution.


Related issues

Has duplicate Redmine - Defect #7490: issue's custom field string length checkClosed2011-01-29

Actions
Actions

Also available in: Atom PDF