Patch #1789
closed
Raise project-name length-limit from 30 to 35 characters
Added by Mischa The Evil over 16 years ago.
Updated over 13 years ago.
Description
I just needed this modification due to projects structure in Redmine and thought it might be usefull for some other users.
Note that this patch raises the maximum-length of a project-name from 30 characters to 35 characters. If the limit of 35 characters isn't sufficient modify the patch by replacing the instances of 35 to the desired maximum-length.
Warning: this patch can malform/break different views depending on your setup. I guess that is the main reason why project-names are limited to 30 characters by default.
Files
Could you increase the length to 60 characters? Is there any issues increasing the length to that limit?
+1. I think 30 characters is not enough for non-English languages.
It's better to increase it to 60 or something.
+1. This 30 characters limit is really annoying. If there are any visibility issues than the modules should take care of it and the name should not have any limit. The same goes for the limit of the project's identifier. Can we please rise the limits to at least 255?
How can I install this patch? Iam a newbie using redmine. Please Help thanks
- Status changed from New to Closed
Could you please give me some guide how to raise project-name length-limit from 30 to 35 characters by writing a plugin instead of a patch file?
Thanks in advance
I got the following error when i run the patch file in Redmine v1.0.1. Could you please let me know how to fix it?
(Stripping trailing CRs from patch.)
patching file app/models/project.rb
Hunk #1 FAILED at 56.
1 out of 1 hunk FAILED -- saving rejects to file app/models/project.rb.rej
(Stripping trailing CRs from patch.)
patching file app/views/projects/_form.rhtml
Hunk #1 FAILED at 2.
1 out of 1 hunk FAILED -- saving rejects to file app/views/projects/_form.rhrej
(Stripping trailing CRs from patch.)
Also available in: Atom
PDF