Actions
Defect #31886
openThere is no limitation for the content of news
Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Affected version:
Description
In my deployed Redmine, I tried to create a news with more than 65536 characters. And I got this as attached. There should be a constraint in new.rb, such as:
validates_length_of :description, maximum: 65535
even more, in the news/_form.html,
maxlength => 65535should be added to the textarea. I have attached the patch.
Files
Updated by jwjw yy over 5 years ago
- File html.patch html.patch added
- File model.patch model.patch added
Actions