プロジェクト

全般

プロフィール

Vote #80240

未完了

There is no limitation for the content of news

Admin Redmine さんが約4年前に追加.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
-
対象バージョン:
-
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
0
version_id:
0
issue_org_id:
31886
author_id:
306584
assigned_to_id:
0
comments:
1
status_id:
1
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

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 => 65535
should be added to the textarea. I have attached the patch.


journals

--------------------------------------------------------------------------------

表示するデータがありません

他の形式にエクスポート: Atom PDF

いいね!0