Can't create a series name like '1'
Bug #390776 reported by
Michael Terry
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Low
|
Curtis Hovey |
Bug Description
Trying to name a series a very short name, like '1' doesn't work ('19' or '132' work though). The error given doesn't actually describe why Launchpad won't let you name it that:
"Invalid name '1'. Names must start with a letter or number and be lowercase. The characters +, - and . are also allowed after the first character."
So, two possible resolutions, I guess:
1) Allow names to be one legal-character
2) If you aren't willing to do that, fix the error message given to explain that series names can't be only one character.
Changed in launchpad-registry: | |
assignee: | nobody → Curtis Hovey (sinzui) |
milestone: | none → 2.2.7 |
status: | Triaged → In Progress |
tags: | added: story-series-milestones-releases |
To post a comment you must log in.
Update canonical. launchpad. validators. name.name_ validator:
characters <samp>+</samp>, <samp>-</samp> and <samp>.</samp> are
mapping= {'name' : escape(name)})
message = _(dedent("""
Invalid name '${name}'. Names must be at least two characters
long, start with a letter or number and be lowercase. The
also allowed after the first character."""),