Edgewall Software
Modify

Ticket #4142 (closed defect: duplicate)

Opened 4 years ago

Last modified 4 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:

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 4 years ago by anonymous

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

comment:2 Changed 4 years ago by ThurnerRupert

does this problem still exist with the fix for #1816 ?

comment:3 Changed 4 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 4 years ago by cboos

  • Status changed from new to closed
  • Resolution set to duplicate

The same issue exists for components (see #4058) and probably anything else that ends up in a <select>...

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from jonas. Next status will be 'closed'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.