Actions
Defect #7489
closedIssue's journal max string length
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
-
Start date:
2011-01-29
Due date:
% Done:
0%
Estimated time:
Resolution:
Fixed
Affected version:
Description
In Ruby 1.8, a String is always just a collection of bytes.
in, app/models/journal_detail.rb
value[0..254]
does not trim 255 character.
I changed those like this.
value[/.{0,254}/m]
Is it suitable?
- My Ruby version : 1.8.6
- My redmine version : 1.1.0
- My database version : MySQL 5.0
Updated by Etienne Massip over 13 years ago
- Target version set to Candidate for next minor release
Updated by Jean-Philippe Lang over 13 years ago
- Subject changed from issue's journal max string length to Issue's journal max string length
- Status changed from New to Closed
- Target version deleted (
Candidate for next minor release) - Resolution set to Fixed
Obsoleted by r4954. Journal values are no longer truncated.
Actions