Bugzilla – Bug 3755
Advanced search on genre crashes
Last modified: 2008-09-15 14:39:24 UTC
See log file attachment.
Created attachment 1343 [details] slimserver log
It's happening on more than just searching genre. Also crashes searching file format. Some single-criteria searches work without crashing, though. I can still do track, album, artist, year searches. But album+year crashes.
Add after lnie 227 of Web/Pages/Search.pm:L if ($query{'genre'}) { push @joins, 'genreTracks'; } That seems to solve the genre crash.
changing search.ct to search.content_type will fix the file types crashing. Any others? I'll commit the above fixes tonight.
Fixed in change 8438
search.size needs to become search.filesize as well. no more time to test, have to get back to day job stuff :)
date modified results in "unknown column 'age'" maybe search.age changed to search.timestamp? These last two avoid a crash, but don't result in any track listing, however.
Just checked in 8438. Any date modified search, any file length search. I mentioned the album+year crash already.
Ok - svn change 8440 should fix all this.
Is it possible that these fixes could have affected the -other- web ui search? Seems really messed up now. I get links on the artist, album, and track names when the search auto-runs following characters entered in the text box. But they all lead to a 404 error. If I use the 'Search' button I get no links at all. Seems that the play buttons may be playing all tracks in the library in some unknown order. I'm at r8451. Or I'll file a new bug...
The changes should not have affected the Basic Search. Please file a new bug..
I take that back.. one of the other checkins did change this. Can you up to svn 8452 and try again?
That's got it.