Defect #1095

Homepage length limit for Projects

Added by Nirbheek Chauhan 167 days ago. Updated 123 days ago.

Status:Closed Start:2008-04-23
Priority:Normal Due date:
Assigned to:- % Done:

0%

Category:-
Target version:0.8
Affected version:

Resolution:


Description

There seems to be a URL length limit for the Homepage of a project. The only reason I can think of for such a limit is that it might overflow around the page and play bad with the layout. But this puts an unreasonable restriction on the URLs which can be linked to. For instance, Google Summer of Code application urls are too long to be included (example)

The solution for this is, of course, to not use

Homepage: http://somewebsite.com/

and instead use

Homepage

extend-project-homepage-length.patch (1.7 KB) Eric Davis, 2008-05-07 02:38


Related issues

duplicates Defect #663 homepage link in project settings is too short Closed 2008-02-14

Associated revisions

Revision 1457
Added by jplang 135 days ago

Change projects homepage limit to 255 chars (#663, #1095).

History

2008-04-23 15:15 - Thomas Lecavelier

Marked as duplicated from #663.

I propose an helper that auto-truncat displayed URL to 60 chars (replacing center path with ...) and giving the full URL in the link tool-tip.

I propose to raise the database field limitation to 256 chars.

2008-04-23 18:50 - Jean-Philippe Lang

I think this homepage field could be removed or at least moved to a custom field via a migration.
As you said, the url can be entered in the project description, with wiki formatting as well.
What do you think ?

2008-04-23 19:53 - Eric Davis

I think this homepage field could be removed or at least moved to a custom field via a migration. As you said, the url can be entered in the project description, with wiki formatting as well.

+1 I have a customer requesting me to extend the db column size because their url is 64 characters. I would prefer to have homepage removed completely from Project. The description can be used or a custom data field.

2008-05-07 02:38 - Eric Davis

Attaching patch to extend the project homepage to 254 characters. Other option of removing homepage entirely would also be nice.

2008-05-25 15:35 - Jean-Philippe Lang

  • Status changed from New to Closed

Fixed in r1457 (migration required). Limit is now 255 chars.

2008-05-29 19:59 - Jean-Philippe Lang

  • Target version set to 0.8

2008-06-05 17:53 - James Byrne

Question: How does one get this patch applied to the current version (0.7.1)? We have installed redmine using svn and svn update brings us to r1492 but that does not include this fix.

2008-06-05 18:02 - James Byrne

Never mind. I applied the changes by hand.

Also available in: Atom PDF