Project

General

Profile

Actions

Patch #1789

closed

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

Added by Mischa The Evil over 16 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Projects
Target version:
-
Start date:
2008-08-14
Due date:
% Done:

0%

Estimated time:

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

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

Actions
Actions #1

Updated by Otavio Salvador about 16 years ago

+1

Actions #2

Updated by Anonymous about 16 years ago

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

Actions #3

Updated by Alexey Palazhchenko almost 15 years ago

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

Actions #4

Updated by Alexey Palazhchenko over 14 years ago

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

Actions #5

Updated by Erwin Mueller over 14 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?

Actions #6

Updated by ardel biscaro over 14 years ago

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

Actions #7

Updated by Jean-Philippe Lang about 14 years ago

  • Status changed from New to Closed

See #6446.

Actions #8

Updated by Alexey Palazhchenko about 14 years ago

Thanks!

Actions #9

Updated by whoiam whoiam almost 14 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

Actions #10

Updated by whoiam whoiam almost 14 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.)

Actions

Also available in: Atom PDF