Actions
Defect #24006
closedAdd character limitation on description field for MySQL
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Fixed
Affected version:
Description
Defect Description¶
On the actual version as in the las trunk, when trying to create a new description with more than 65536 characters, Redmine answers with an error 500.
This happens when the adapter ActiveRecord of MySQL is used, as the field description is of type :text and the maximum limit that it accepts is 65536 as i explain on the next link: https://www.packtpub.com/books/content/working-rails-%E2%80%93-activerecord-migrations-models-scaffolding-and-database-completion
With this patch this problem is solved as it adds a validation in case of the adapter being MySQL.
Attached Screenshots:¶
Files
Related issues
Actions