Defect #24006
closedAdd character limitation on description field for MySQL
0%
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
Updated by Toshi MARUYAMA about 8 years ago
- Related to Feature #19869: Consider increasing the size limit of description and note columns for tickets added
Updated by Jean-Philippe Lang about 8 years ago
I'd rather increase the size of the description column for Mysql (as it was already done for wiki pages) in order to have the same behaviour as other DBMS. I'm assigning #20127 to 3.4.0.
Updated by Go MAEDA about 8 years ago
- Related to Defect #20127: The description column in the issues table is too short (MySQL) added