Patch #1789

Raise project-name length-limit from 30 to 35 characters

Added by Mischa The Evil about 9 years ago. Updated over 6 years ago.

Status:ClosedStart date:2008-08-14
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Projects
Target version:-

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.

change_project_name_length_limit_to_35-r1745.patch Magnifier - Patch created against r1745 of the trunk. (1.72 KB) Mischa The Evil, 2008-08-14 13:39


Related issues

Blocks Redmine - Feature #6446: Remove length limits on project identifier and name Closed 2010-09-20

History

#1 Updated by Otavio Salvador about 9 years ago

+1

#2 Updated by Alexandre Garino about 9 years ago

Could you increase the length to 60 characters? Is there any issues increasing the length to that limit?

#3 Updated by Alexey Palazhchenko almost 8 years ago

+1. I think 30 characters is not enough for non-English languages.

#4 Updated by Alexey Palazhchenko over 7 years ago

It's better to increase it to 60 or something.

#5 Updated by Erwin Mueller about 7 years ago

+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?

#6 Updated by ardel biscaro about 7 years ago

How can I install this patch? Iam a newbie using redmine. Please Help thanks

#7 Updated by Jean-Philippe Lang almost 7 years ago

  • Status changed from New to Closed

See #6446.

#8 Updated by Alexey Palazhchenko almost 7 years ago

Thanks!

#9 Updated by whoiam whoiam over 6 years ago

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

#10 Updated by whoiam whoiam over 6 years ago

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