Bug 18101 - Basic search fails to find Various Artists
: Basic search fails to find Various Artists
Status: REOPENED
Product: Logitech Media Server
Classification: Unclassified
Component: Web Interface
: 7.9.x
: PC Windows 7
: -- normal (vote)
: 7.9.x
Assigned To: Michael Herger
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-06-17 12:50 UTC by Jim McAtee
Modified: 2014-06-18 04:58 UTC (History)
1 user (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 2014-06-17 12:50:38 UTC
The basic search no longer finds Various Artists, although it does appear in the new drop-down search, and that link works correctly. If you use the search box and hit Enter or click the button, or if you use the live/basic search page, Various Artists is not found.
Comment 1 Michael Herger 2014-06-17 14:05:40 UTC
Change 3bcc718815093b3710d951212ef5cbb6a6719edf - don't filter searches by roles, or we might skip the VA object.
Comment 2 Jim McAtee 2014-06-17 14:27:27 UTC
Looks good. Thanks!
Comment 3 Jim McAtee 2014-06-17 14:33:01 UTC
Whoops. Forgot to test something...

(Again, I don't know whether or not this is a separate issue.)

In 7.8.1 if I set the pref labeled 'When compilation albums are grouped together, they appear under "Various Artists" by default. You can change that name below', basic search will find the VA by that name. That's not the case in 7.9. Neither the drop-down search or the live/basic search find it.
Comment 4 Michael Herger 2014-06-17 14:46:44 UTC
Hmm... working fine here: I set that value to "Plunder" (whatever), and I now can search for "Plunder". Are you saying that wouldn't work any more for you?
Comment 5 Jim McAtee 2014-06-17 14:52:59 UTC
No, it does not. I've tried it with the search pref set to both beginning and within words. Is there any debugging that I can enable?
Comment 6 Michael Herger 2014-06-17 14:58:43 UTC
database.info should give you the exact SQL query used
Comment 7 Michael Herger 2014-06-17 14:58:53 UTC
Sorry, database.sql
Comment 8 Jim McAtee 2014-06-17 15:32:02 UTC
It appears to be some kind of caching issue. I restarted the server in order to clear the server.log and after restarting it immediately started working. I changed the name and for a few minutes it failed to find the new name, but would continue to find the old one. I cleared the name and it continued to find the newest name for a bit. When I change it from blank to some name, it also fails for a period of time.

Feel free to close this as fixed if you're not concerned about it.
Comment 9 Jim McAtee 2014-06-18 03:24:00 UTC
And now the search is bringing up two Various Artists (both the drop-down and the basic search), but both of them are empty.

Another way that I found to navigate to Various Artists is by going to All Artists and finding an artist that I know is on a compilation. That artist will have an album by Various Artists. If I click that artist link, it's now empty.
Comment 10 Michael Herger 2014-06-18 04:58:13 UTC
Yeah, there definitely is something wrong with the on-the-fly renaming of the VA object. I did see that instead of renaming it there was a new entry with the new name. The old one obviously would still be there, but empty. Something to look into when time permits...