プロジェクト

全般

プロフィール

Vote #63083

完了

Homepage length limit for Projects

Admin Redmine さんがほぼ2年前に追加. ほぼ2年前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
-
対象バージョン:
開始日:
2008/04/23
期日:
進捗率:

0%

予定工数:
category_id:
0
version_id:
2
issue_org_id:
1095
author_id:
881
assigned_to_id:
0
comments:
8
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

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":http://code.google.com/soc/2008/gentoo/appinfo.html?csaid=4718E0E515B5040C)

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

Homepage: http://somewebsite.com/

and instead use

"Homepage":http://somewebsite.com/


journals

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.
--------------------------------------------------------------------------------
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 ?
--------------------------------------------------------------------------------
bq. 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.
--------------------------------------------------------------------------------
Attaching patch to extend the project homepage to 254 characters. Other option of removing homepage entirely would also be nice.
--------------------------------------------------------------------------------
Fixed in r1457 (migration required). Limit is now 255 chars.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------
Never mind. I applied the changes by hand.
--------------------------------------------------------------------------------


related_issues

duplicates,Closed,663,homepage link in project settings is too short

Admin Redmine さんがほぼ2年前に更新

  • 対象バージョン0.8_2 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0