Opened 13 years ago

Closed 13 years ago

#7875 closed defect (fixed)

Project names with spaces handled incorrectly

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

Description (last modified by Ryan J Ollos)

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 13 years ago by Ryan J Ollos

Description: modified (diff)
Owner: changed from pdoup to Ryan J Ollos

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

comment:2 Changed 13 years ago by Ryan J Ollos

Status: newassigned

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 13 years ago by Ryan J Ollos

Resolution: fixed
Status: assignedclosed

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

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment

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

Note: See TracTickets for help on using tickets.