Edgewall Software
Modify

Opened 17 years ago

Closed 17 years ago

#4058 closed defect (fixed)

Two spaces in a component name causes an error

Reported by: recaffeinated john Owned by: Christian Boos
Priority: normal Milestone: 0.11
Component: general Version: 0.10
Severity: minor Keywords: component
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

After naming a component "Test - General" (notice two spaces after Test) the ticket system wouldn't allow me to assign a ticket to that component. Instead, I received an error: "Test - General" is not a valid value for the component field.

Attachments (0)

Change History (6)

comment:1 by uh oh, 17 years ago

Can my email address be removed? I thought it would be obfuscated.

in reply to:  1 comment:2 by Christopher Lenz, 17 years ago

Replying to uh oh:

Can my email address be removed? I thought it would be obfuscated.

Done.

comment:3 by Christian Boos, 17 years ago

Milestone: 0.11
Owner: changed from Jonas Borgström to Christian Boos

Same issue for milestones (#4142) and probably everything that ends up being put in a <select>. As I don't think there's a good reason to try to preserve the actual number of spaces, we should normalize spaces, i.e. instead of just name.strip(), do ' '.join(name.split()).

comment:4 by Christian Boos, 17 years ago

#3454 presented another problem related to non-normalized spaces in enum names.

comment:5 by Christian Boos, 17 years ago

Keywords: component added

#4971 closed as duplicate.

comment:6 by Christian Boos, 17 years ago

Resolution: fixed
Status: newclosed

Fixed in r5238 as explained in comment:3.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christian Boos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christian Boos to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.