Project

General

Profile

Actions

Patch #1789

closed

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

Patch #1789: Raise project-name length-limit from 30 to 35 characters

Added by Mischa The Evil over 18 years ago. Updated over 15 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
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.


Files

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

Related issues 1 (0 open — 1 closed)

Blocks Redmine - Feature #6446: Remove length limits on project identifier and nameClosedFelix SchäferActions

Updated by Otavio Salvador about 18 years ago Actions #1

+1

Updated by Anonymous about 18 years ago Actions #2

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

Updated by Alexey Palazhchenko almost 17 years ago Actions #3

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

Updated by Alexey Palazhchenko over 16 years ago Actions #4

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

Updated by Erwin Mueller over 16 years ago Actions #5

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

Updated by ardel biscaro about 16 years ago Actions #6

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

Updated by Jean-Philippe Lang about 16 years ago Actions #7

  • Status changed from New to Closed

See #6446.

Updated by Alexey Palazhchenko about 16 years ago Actions #8

Thanks!

Updated by whoiam whoiam over 15 years ago Actions #9

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

Updated by whoiam whoiam over 15 years ago Actions #10

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.)

Actions

Also available in: PDF Atom