プロジェクト

全般

プロフィール

Vote #63599

完了

2 characters identifier too short?

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

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

0%

予定工数:
category_id:
11
version_id:
7
issue_org_id:
1626
author_id:
886
assigned_to_id:
0
comments:
10
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
4
ステータス-->[Closed]

説明

I have a project which name consist in 2 characters. I want to identify it with 2 characters too but Redmine fails creating it complaining about the identifier being too short (which is specified in the form). I can't understand why a project identifier can't be 2 (or even 1!) character long.

It's possible to change that validation?

Thanks!


journals

I've attached a trivial patch against 0.7 svn branch that do the trick.
--------------------------------------------------------------------------------
Ups! Broken patch attached, here is the correct one...
--------------------------------------------------------------------------------
you should introduce a test case about that patch.
--------------------------------------------------------------------------------
I'm sorry, I'm not a RoRer nor a Rubyier, I managed to make the patch because it was trivial, but I have no idea of how to make a testecase for redmine.

I'll appreciate instructions or that somebody else do it.

Thank you
--------------------------------------------------------------------------------
r2221 lowers this limit to 2.
--------------------------------------------------------------------------------
Thanks!

May I ask why not to have a limit of 1?
--------------------------------------------------------------------------------
I'm reopening the bug because I don't see any reason to set the limit to 2 instead of 1 (i.e. non-empty).
--------------------------------------------------------------------------------
Please don't re-open bugs of a closed milestone. What you've done is mark the 0.8.1 milestone as 'open' again when it was closed again. I'd suggest opening a new ticket and reference this one from the new one.
--------------------------------------------------------------------------------
Ok, I'm sorry, I just opened a new bug report (#3073). Unfortunately I can't re-close this one myself.
--------------------------------------------------------------------------------
As requested...
--------------------------------------------------------------------------------


related_issues

relates,Closed,3073,Minimum identifier lenght should be 1

Admin Redmine さんが3年以上前に更新

  • カテゴリProjects_11 にセット
  • 対象バージョン0.8.1_7 にセット

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

いいね!0
いいね!0