Defect #1095

Homepage length limit for Projects

Added by Nirbheek Chauhan over 9 years ago. Updated over 9 years ago.

Status:ClosedStart date:2008-04-23
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:0.8
Resolution: Affected version:

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 Magnifier (1.7 KB) Eric Davis, 2008-05-07 02:38


Related issues

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

Associated revisions

Revision 1457
Added by Jean-Philippe Lang over 9 years ago

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

History

#1 Updated by Thomas Lecavelier over 9 years ago

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.

#2 Updated by Jean-Philippe Lang over 9 years ago

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 ?

#3 Updated by Eric Davis over 9 years ago

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.

#4 Updated by Eric Davis over 9 years ago

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

#5 Updated by Jean-Philippe Lang over 9 years ago

  • Status changed from New to Closed

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

#6 Updated by Jean-Philippe Lang over 9 years ago

  • Target version set to 0.8

#7 Updated by James Byrne over 9 years ago

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.

#8 Updated by James Byrne over 9 years ago

Never mind. I applied the changes by hand.

Also available in: Atom PDF