Defect #1626
closed2 characters identifier too short?
0%
Description
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!
Files
Related issues
Updated by Leandro Lucarella over 16 years ago
- File redmine.identifier.patch redmine.identifier.patch added
I've attached a trivial patch against 0.7 svn branch that do the trick.
Updated by Leandro Lucarella over 16 years ago
- File redmine.identifier.patch redmine.identifier.patch added
Ups! Broken patch attached, here is the correct one...
Updated by Thomas Lecavelier over 16 years ago
you should introduce a test case about that patch.
Updated by Leandro Lucarella over 16 years ago
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
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
r2221 lowers this limit to 2.
Updated by Leandro Lucarella almost 16 years ago
Thanks!
May I ask why not to have a limit of 1?
Updated by Leandro Lucarella over 15 years ago
- Status changed from Closed to Reopened
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).
Updated by Anonymous over 15 years ago
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.
Updated by Leandro Lucarella over 15 years ago
Ok, I'm sorry, I just opened a new bug report (#3073). Unfortunately I can't re-close this one myself.