Modify ↓
Opened 14 years ago
Closed 14 years ago
#7875 closed defect (fixed)
Project names with spaces handled incorrectly
Reported by: | Owned by: | Ryan J Ollos | |
---|---|---|---|
Priority: | normal | Component: | TimelineComponentFilterPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description (last modified by )
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 14 years ago by
Description: | modified (diff) |
---|---|
Owner: | changed from pdoup to Ryan J Ollos |
comment:2 Changed 14 years ago by
Status: | new → 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 14 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
You must mean Components, not Projects. I have reproduced this error.