Page 1 of 2

1209 Quoted quick search of Path fails [5186]

Posted: Mon Jan 12, 2009 6:32 pm
by chrisjj
1 In search options 'Search the following fields via the Search bar:', ensure only Path ticked
2 in quick search enter ".wma" (inc. quotes - defined to do exact match, says Rusty @ http://www.mediamonkey.com/forum/viewto ... 56#p184056)

Expected: match on all files with .wma in path
Observed: no matches.

The same failure occurs on "." and "\" and "wma".

Re: 1209 Quoted quick search of Path fails

Posted: Mon Jan 12, 2009 7:22 pm
by Lowlander
Seems to be related to http://www.mediamonkey.com/forum/viewto ... =6&t=35976 and http://www.mediamonkey.com/forum/viewto ... =6&t=35968.

The issue seems that path search when using quotes isn't respecting the special characters which should happen when quotes are used.

Re: 1209 Quoted quick search of Path fails

Posted: Mon Jan 12, 2009 7:26 pm
by Lowlander
And yes on .1212 ".flac" only finds some of all the FLAC files.

Re: 1209 Quoted quick search of Path fails

Posted: Mon Jan 12, 2009 7:29 pm
by Lowlander
Actually with some more testing "FLAC" only shows results that include FLAC with a leading and trailing space. This seems incorrect as "" indicate what content should be leading trailing the search query in the results.

Re: 1209 Quoted quick search of Path fails

Posted: Mon Jan 12, 2009 7:30 pm
by chrisjj
Lowlander wrote:The issue seems that path search when using quotes isn't respecting the special characters which should happen when quotes are used.
That theory fails to accord with the "wma" case.

Re: 1209 Quoted quick search of Path fails

Posted: Mon Jan 12, 2009 7:31 pm
by Lowlander
I think that this is the bug that's causing all these issues. "" expects leading/trailing space or no leading/trailing character, it also applies to other fields.

Re: 1209 Quoted quick search of Path fails

Posted: Mon Jan 12, 2009 7:36 pm
by chrisjj
Crikey. How this new search engine passed alpha test, GOK! ;)

Re: 1209 Quoted quick search of Path fails

Posted: Mon Jan 12, 2009 7:37 pm
by Lowlander
Added as Mantis Bug 5186

Re: 1209 Quoted quick search of Path fails BUG#5186

Posted: Mon Jan 12, 2009 7:39 pm
by Lowlander
These are just small bugs, no data is being corrupted or lost. The new search has many test cases that need to be run and thus errors can occur. This is stuff that comes up in beta tests.

Re: 1209 Quoted quick search of Path fails BUG#5186

Posted: Mon Jan 12, 2009 7:48 pm
by chrisjj
Lowlander wrote:These are just small bugs
How did the test team measure the size of a bug it never found, I wonder... ;)

Re: 1209 Quoted quick search of Path fails BUG#5186

Posted: Mon Jan 12, 2009 7:49 pm
by Lowlander
They didn't as it's my opinion not theirs.

Re: 1209 Quoted quick search of Path fails

Posted: Mon Jan 12, 2009 7:53 pm
by chrisjj
Lowlander wrote:Added as Mantis Bug 5186
Thanks, but the characterisation is in error:
When using the quick search with "" MediaMonkey expects that the search results containing a leading/trailing space or no character.
The "no character" qualification does not accord with the case of query = full path i.e. S:\TLIB\02480002928829\1\16.wma still fails to match that Path.

Re: 1209 Quoted quick search of Path fails BUG#5186

Posted: Mon Jan 12, 2009 8:00 pm
by Lowlander
Strange as "Madonna" does find Madonna as artist.

The path issue might be because of different bug though.

Re: 1209 Quoted quick search of Path fails BUG#5186

Posted: Mon Jan 12, 2009 8:05 pm
by chrisjj
Lowlander wrote:The path issue might be because of different bug though.
Well, quite. I'd appreciate it if you would file the bug I reported, not conflating it with any other bug that may or may not be different.

Re: 1209 Quoted quick search of Path fails BUG#5186

Posted: Tue Jan 13, 2009 10:46 am
by Lowlander
Actually yours is not a bug as "" only returns full matches not partial matches. I did ask for a method to do a search like .wma and get all WMA files returned.

Of course the specific extension search could be solved by allowing to search the Type field in the Quick Search (like it's possible in the Advanced Search).