Nick-The-Uncharted / tablefilter-swing

Automatically exported from code.google.com/p/tablefilter-swing
1 stars 1 forks source link

Error handling CustomChoices with similar text representations #26

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I add two CustomChoices. One has the textual representation 'Cob'; the 
second, is 'Cob - 1'
2- I select the CustomChoice with name 'Cob', that should match all dates in 
the column with date=yesterday

What is the expected output? What do you see instead?

The rows with the given date should not be filtered out. As it happens, all 
rows gets filtered out.

What version of the product are you using? On what operating system?

4.4.0 on Windows XP

Please provide any additional information below.

Original issue reported on code.google.com by luismp...@gmail.com on 2 Sep 2012 at 12:18

GoogleCodeExporter commented 9 years ago
Fixed on version 4.4.1

Original comment by coderazzi on 2 Sep 2012 at 2:08

GoogleCodeExporter commented 9 years ago
As a note, the error would only happen if one CustomChoice' text representation 
was a substring (from the beginning) of other CustomChoice's representation.
In this case, selecting the shorter CustomChoice would filter out all rows in 
the table.

Original comment by coderazzi on 2 Sep 2012 at 2:23