Project

General

Profile

How to increase length of project name

Added by Caslav Sunjka over 13 years ago

Hi,

Is there any way to change maximum length of project name. Default is 30 characters maximum. I did modify table in mysql databse so the name in projects table is now varchar (50) instead of previous varchar (30), but still it doesn't let me to name project if it is more then 30 characters long. Thank you.


Replies (3)

RE: How to increase length of project name - Added by Felix Schäfer over 13 years ago

There are several bugs dealing with this and with patches attached to them, please consult those, thakns.

RE: How to increase length of project name - Added by whoiam whoiam about 13 years ago

Could you please give me some guides how to raise project-name length-limit from 30 to 60 characters by writing a plugin instead of a patch file?

Thanks in advance

RE: How to increase length of project name - Added by whoiam whoiam about 13 years ago

Hello Felix, sorry for disturb you again. We are using Redmine V1.0.1 and my boss does not want to upgrade into new Redmine version.

Could you please give some instructions to write a plugin for raising project-name length-limit from 30 to 60?

I tried to test your patch file at Redmine v1.0.1 and it got the following errors. Please give some advices. Thanks you.

patching file app/models/project.rb
Hunk #1 FAILED at 66.
1 out of 1 hunk FAILED -- saving rejects to file app/models/project.rb.rej
patching file app/views/projects/_form.rhtml

    (1-3/3)