Modify

Opened 4 years ago

Closed 4 years ago

#7875 closed defect (fixed)

Project names with spaces handled incorrectly

Reported by: andy.somerville@… Owned by: rjollos
Priority: normal Component: TimelineComponentFilterPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description (last modified by rjollos)

If a project name has a space in it, filtering will include items with the same first portion of the name. For example

Selecting project "SpecialProject A"
will also select "SpecialProject"

and results for both will be returned.

Attachments (0)

Change History (3)

comment:1 Changed 4 years ago by rjollos

  • Description modified (diff)
  • Owner changed from pdoup to rjollos

You must mean Components, not Projects. I have reproduced this error.

comment:2 Changed 4 years ago by rjollos

  • Status changed from new to assigned

I'm pretty new to Python, so this fix might be ugly by Python standards, but it works. The issue was that a string would be returned as the listbox argument if only one item was selected, but a list would be returned if multiple items were selected. However, the code was treating the iterable type as if it was always a list. The solution I implemented was to put the string object in a tuple of length 1.

comment:3 Changed 4 years ago by rjollos

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [9511]) All filters whose leading characters matched the selected filters would be implicitly selected on submit. Fixes #7875.

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from rjollos. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.