Vote #76384
完了Raise wiki edits comments limit to 1024
0%
説明
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:
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