Bug 17464 - Basic search fails with search string containing single quotes
: Basic search fails with search string containing single quotes
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Web Interface
: 7.6.0
: All All
: P3 normal (vote)
: 7.6.x
Assigned To: Michael Herger
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-08-18 15:05 UTC by Jim McAtee
Modified: 2011-09-02 04:57 UTC (History)
2 users (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jim McAtee 2011-08-18 15:05:55 UTC
Searching for the string "don't" fails to match anything containing the word "don't". Other punctuation appears to work - for example, searching for "don.t" does match.
Comment 1 Michael Herger 2011-08-18 15:17:36 UTC
Ok, should have known :-)

In the forum you said it was broken _again_. Did it work in earlier 7.6 revisions?
Comment 2 Jim McAtee 2011-08-18 15:25:53 UTC
"Broken again", as in: the most recent of the bugs found in basic search in 7.6.
Comment 3 Sébastien Phélep 2011-08-19 03:50:00 UTC
The search works, but not every time.

Here's a way to reproduce the problem:

Type in "don't" in the search text box in the Home page, and press enter.
It will drive your to the Home > Search window and will display no results.
If you press Enter again in the text box containing the word "don't", nothing happens.
Type then something else in the text box and press Enter, SBS will display corresponding results.
Now, if you type "don't" again in the text box without pressing Enter, it will display corresponding results.

If, rather than using the search text box at the main window, you click on the magnifying glass icon, it'll drive you to the Home > Search page.
Type "don't" in the search text box there, and you'll get results.

I first thought that this bug affected any search string containing a punctuation sign, but it doesn't: a search for "dp.dq", "7=2" or "100%" will succeed, for example (even if search results for "100%" match anything containing "100" in its title, as "don't" will bring me "Don Thompson", but that's another bug).
Comment 4 SVN Bot 2011-09-02 04:56:18 UTC
 == Auto-comment from SVN commit #33292 to the slim repo by mherger ==
 == http://svn.slimdevices.com/slim?view=revision&revision=33292 ==

Bug: 17464
Description: replace single quote in search term with space. It's breaking JS execution, and will be replaced on the server anyway.