プロジェクト

全般

プロフィール

Vote #76384

完了

Raise wiki edits comments limit to 1024

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

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

0%

予定工数:
category_id:
1
version_id:
102
issue_org_id:
19886
author_id:
128151
assigned_to_id:
1
comments:
9
status_id:
5
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

See: source:/trunk/app/models/wiki_content.rb#L25

The @comments@ field in the @wiki_content_versions@ table is defined as having a length of 1024 characters:

Click to expand wiki_content_versions table definition...

Yet, user comments are truncated at 255:

Click to expand patch...

Let's not do that. :)

Note: This patch (partly) makes the comment field mandatory. That might not be what you want. It would be nice to have a way to require this field without patching the application though. :)


journals

--------------------------------------------------------------------------------
"comments" of "wiki_content_versions" is defined as 255.
source:tags/3.0.3/db/migrate/029_create_wiki_contents.rb#L19

I think you changed manually.
--------------------------------------------------------------------------------
Yes, you are correct. We did. Can that field be made longer by default? The length of 255 characters is rather short and doesn't allow for detailed time entries.
--------------------------------------------------------------------------------
See r4402.
--------------------------------------------------------------------------------
The diff you referenced doesn't apply to the wiki content versions @comment@ field.
--------------------------------------------------------------------------------
If you want to modify db definition, you need to make db migrate file.
* source:trunk/db/migrate/20101114115114_change_projects_name_limit.rb
* source:trunk/db/migrate/20101114115359_change_projects_identifier_limit.rb
--------------------------------------------------------------------------------
Because there is no completed patch, I change tracker.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Limit raised to 1024 in r14622.
--------------------------------------------------------------------------------


related_issues

copied_to,Closed,19885,Raise time entries comments limit to 1024

Admin Redmine さんが3年以上前に更新

  • カテゴリWiki_1 にセット
  • 対象バージョン3.2.0_102 にセット

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

いいね!0
いいね!0