Edgewall Software

Ticket #4058 (closed defect: fixed)

Opened 2 years ago

Last modified 20 months ago

Two spaces in a component name causes an error

Reported by: recaffeinated john Owned by: cboos
Priority: normal Milestone: 0.11
Component: general Version: 0.10
Severity: minor Keywords: component
Cc:

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

Change History

follow-up: ↓ 2   Changed 2 years ago by uh oh

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

in reply to: ↑ 1   Changed 2 years ago by cmlenz

Replying to uh oh:

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

Done.

  Changed 2 years ago by cboos

  • owner changed from jonas to cboos
  • milestone set to 0.11

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()).

  Changed 21 months ago by cboos

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

  Changed 21 months ago by cboos

  • keywords component added

#4971 closed as duplicate.

  Changed 20 months ago by cboos

  • status changed from new to closed
  • resolution set to fixed

Fixed in r5238 as explained in comment:3.

Add/Change #4058 (Two spaces in a component name causes an error)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from cboos. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.