Project

General

Profile

Actions

Defect #1095

closed

Homepage length limit for Projects

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

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
2008-04-23
Due date:
% Done:

0%

Estimated time:
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


Files


Related issues

Is duplicate of Redmine - Defect #663: homepage link in project settings is too shortClosed2008-02-14

Actions
Actions #1

Updated by Thomas Lecavelier over 16 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.

Actions #2

Updated by Jean-Philippe Lang over 16 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 ?

Actions #3

Updated by Eric Davis over 16 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.

Actions #4

Updated by Eric Davis over 16 years ago

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

Actions #5

Updated by Jean-Philippe Lang over 16 years ago

  • Status changed from New to Closed

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

Actions #6

Updated by Jean-Philippe Lang over 16 years ago

  • Target version set to 0.8
Actions #7

Updated by James Byrne over 16 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.

Actions #8

Updated by James Byrne over 16 years ago

Never mind. I applied the changes by hand.

Actions

Also available in: Atom PDF