Project

General

Profile

Actions

Defect #5877

closed

Project Identifier is invalid when contains only numbers

Added by Vit Jonas over 13 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Normal
Category:
Translations
Target version:
-
Start date:
2010-07-13
Due date:
% Done:

0%

Estimated time:
Resolution:
Wont fix
Affected version:

Description

When Project Identifier contains only numbers Redmine reports: Identifier is invalid. But when one other character mentioned in help text is added (eg '-') then it is OK.

So I think that either adjust help text to state at least one other character to numbers must be present or adjust Project Identifier check.

MySQL 5.0.51a
Ruby 1.8.7
Rails distributed with Redmine package

Actions #1

Updated by Felix Schäfer over 13 years ago

  • Status changed from New to Closed
  • Resolution set to Wont fix

It's not possible to allow numeric-only identifiers, because certain parts of redmine search for the database ID if passed a numeric parameter and for the identifier if passed a string parameter.

Could you please tell me which documentation you are referring too? If it's in the wiki here, you should probably also be able to edit it yourself.

Actions #2

Updated by Vit Jonas over 13 years ago

Its the text in New Project form:

Length between 1 and 20 characters. Only lower case letters (a-z), numbers and dashes are allowed.

No indication that one chracter except digits must be present

Actions #3

Updated by Felix Schäfer over 13 years ago

  • Category set to Translations
  • Assignee set to Felix Schäfer

Vit Jonas wrote:

Its the text in New Project form:

Length between 1 and 20 characters. Only lower case letters (a-z), numbers and dashes are allowed.

No indication that one chracter except digits must be present

Ok, I now see what you mean. Are you a native speaker and could change "Only lower case letters (a-z), numbers and dashes are allowed." so that it says that numbers-only isn't allowed?

Actions

Also available in: Atom PDF