Ticket #4142 (closed defect: duplicate)
Opened 5 years ago
Last modified 5 years ago
Milestones don't accept multiple spaces in names
| Reported by: | trac@… | Owned by: | jonas |
|---|---|---|---|
| Priority: | low | Milestone: | |
| Component: | ticket system | Version: | 0.10 |
| Severity: | trivial | Keywords: | |
| Cc: | |||
| Release Notes: | |||
| API Changes: | |||
Description
I can add a milestone with " " in its name, but when I attempt to assign a ticket to it - the operation fails. (Probably because HTML doesn't send multiple spaces as such - it reduces it to just one space)
I think this should be consistent, preferrably by stripping the duplicate whitespaces from miestone's name before saving.
Attachments
Change History
comment:1 Changed 5 years ago by anonymous
comment:2 Changed 5 years ago by ThurnerRupert
does this problem still exist with the fix for #1816 ?
comment:3 Changed 5 years ago by anonymous
Yes it does - but it's a purely HTML issue in my view, the <select> milestone sends back the changed text (without many spaces - just one).
comment:4 Changed 5 years ago by cboos
- Resolution set to duplicate
- Status changed from new to closed
The same issue exists for components (see #4058) and probably anything else that ends up in a <select>...



The " " is supposed to be " {5}", meaning more than 1 space ;)