Defect #1626
2 characters identifier too short?
| Status: | Closed | Start date: | 2008-07-11 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | Projects | |||
| Target version: | 0.8.1 | |||
| Affected version: | 0.7.2 | Resolution: | Fixed |
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!
Related issues
History
#1 Updated by Leandro Lucarella almost 4 years ago
- File redmine.identifier.patch added
I've attached a trivial patch against 0.7 svn branch that do the trick.
#2 Updated by Leandro Lucarella almost 4 years ago
- File redmine.identifier.patch added
Ups! Broken patch attached, here is the correct one...
#3 Updated by Thomas Lecavelier almost 4 years ago
you should introduce a test case about that patch.
#4 Updated by Leandro Lucarella almost 4 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
#5 Updated by Jean-Philippe Lang over 3 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.
#6 Updated by Leandro Lucarella over 3 years ago
Thanks!
May I ask why not to have a limit of 1?
#7 Updated by Leandro Lucarella about 3 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).
#8 Updated by Russell Hind about 3 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.
#9 Updated by Leandro Lucarella about 3 years ago
Ok, I'm sorry, I just opened a new bug report (#3073). Unfortunately I can't re-close this one myself.
#10 Updated by Mischa The Evil about 3 years ago
- Status changed from Reopened to Closed
As requested...
