Defect #1095
Homepage length limit for Projects
Status: | Closed | Start date: | 2008-04-23 | |
---|---|---|---|---|
Priority: | Normal | Due 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
Related issues
Associated revisions
History
#1
Updated by Thomas Lecavelier almost 15 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 almost 15 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 almost 15 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 14 years ago
- File extend-project-homepage-length.patch
added
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 14 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 14 years ago
- Target version set to 0.8
#7
Updated by James Byrne over 14 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 14 years ago
Never mind. I applied the changes by hand.