ralli/migrate_from_bugzilla — Issue #10: Error: incomplete multibyte character
Author: bpipe
Created: 2012-02-23 12:40:55+00:00
State: open

There is a bug in line 326: category = IssueCategory.new(:name => component.name[0,30])
For UTF-8 encoding truncating to 30 chars, sometimes produces broken string, in which the last byte is truncated.

Replace this line with: category = IssueCategory.new(:name => component.name)

There is a db schema limit to 30 chars for issueCategory.Name but thats not a problem with most db they will truncate string by them-self.