Defect #1626
closed
2 characters identifier too short?
Added by Leandro Lucarella over 16 years ago.
Updated over 15 years ago.
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
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
- Status changed from New to Closed
- Target version set to 0.8.1
- Resolution set to Fixed
r2221 lowers this limit to 2.
Thanks!
May I ask why not to have a limit of 1?
- 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).
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.
- Status changed from Reopened to Closed
Also available in: Atom
PDF