Bug importer allows illegal tags to be created
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
Low
|
Unassigned |
Bug Description
Good day,
the bug import format specification states that tags should be of kind lpname, and that lpname should be of the form [a-z0-9]
When transferring our bugs to LP, I had the exporter auto-generate tags from the bug descriptions, to make them more accessible overall. This -of course- resulted not only in reasonable tags, but also in a few junk tags, including tags that are simply "0" (zero).
Since plain zero conforms to the regexp [a-z0-9]
If, however, you actually *click* that tag, you get bounced to the search page, with the tag input field having the error "'0' isn't a valid tag name. Tags must start with a letter or number and be lowercase. The characters "+", "-" and "." are also allowed after the first character." (https:/
Attempting the same with a single character yields the same result. (https:/
So either the importer must reject single-letter tags, or the search function must allow searching for them. The way it is, single-letter tags hang in limbo, and the import specification is wrong.
The Lp engineer who vetted the importer conversion and tested the output should have caught this issue.