Project

General

Profile

Actions

Defect #2003

closed

Project ID length - remove lower limit , or at least allow 2

Added by Szabolcs Szasz about 16 years ago. Updated almost 16 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Projects
Target version:
Start date:
2008-10-07
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

Any sound reason to forbid using project IDs like "hr" (human resources), "fr" (fundraising), "pr" (public relations) or just any local two-letter abbreviations? Having to mock up a pointless unusual 3-letter acronym for hr feels kind of... wierd...

Why putting in such a restriction, instead of letting the admins decide how they assign their IDs?
Or is there some technical limitation lurking behind that restricts that freedom?

I'll try to hack my instance (unless there's indeed a hard tech. limit.), but would be nice to avoid doing it for every upgrade...

(Done a quick search on identifier length, and only found #1998. Sorry if I'm still creating a duplicate.)

Thanks a million! (And a LOVELY product, BTW!!!)


Files

lower_project_identifier_lenght_limit_to_2-r1927.diff (1.25 KB) lower_project_identifier_lenght_limit_to_2-r1927.diff Patch created against r1927 of the trunk. Mischa The Evil, 2008-10-07 19:42
Actions #1

Updated by Mischa The Evil about 16 years ago

Here's an untested patch which should lower the limit to a minimum of two characters.

Please test it and let me know if it doesn't work.

Actions #2

Updated by Szabolcs Szasz about 16 years ago

Thanks! I will give it a go (first changing the upper limits, too, as my DB data already seems to not to have 20, but 30 chars (which is still kinda' low).

Actions #3

Updated by Jean-Philippe Lang almost 16 years ago

  • Status changed from New to Closed
  • Target version set to 0.8.1
  • Resolution set to Fixed

Patch applied in r2221.

Actions

Also available in: Atom PDF