Ticket #7875 (closed defect: fixed)

Opened 3 years ago

Last modified 2 years ago

Project names with spaces handled incorrectly

Reported by: andy.somerville@resquared.com Assigned to: 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

Change History

11/24/10 11:26:08 changed by rjollos

  • owner changed from pdoup to rjollos.
  • description changed.

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

11/24/10 13:34:11 changed 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.

11/24/10 13:36:09 changed by rjollos

  • status changed from assigned to closed.
  • resolution set to fixed.

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


Add/Change #7875 (Project names with spaces handled incorrectly)




Change Properties
Action