Bug 16138 - Query error
: Query error
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Database
: 7.6.0
: PC Other
: P3 normal (vote)
: 7.6.0
Assigned To: KDF
http://forums.slimdevices.com/showthr...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-04-24 20:36 UTC by KDF
Modified: 2011-07-01 06:22 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 KDF 2010-04-24 20:36:42 UTC
Reproduceable case isn't there yet, but a case in forum was cleared by resetting the playlist.  I think that some sort of sanity check would at least avoid the backtrace (Queries.pm line 4907) something like:

	if (defined $prefixKey && defined $hashRef) {
		(tied %{$hashRef})->Unshift($prefixKey => $prefixVal);
	}
Comment 1 KDF 2011-04-25 17:40:47 UTC
are we wanting this checked in, or are you looking for someone to re-produce the steps?
Comment 2 Andy Grundman 2011-04-26 09:22:07 UTC
Up to you. :)
Comment 3 SVN Bot 2011-05-01 22:36:31 UTC
 == Auto-comment from SVN commit #32384 to the slim repo by kdf ==
 == http://svn.slimdevices.com/slim?view=revision&revision=32384 ==

Bug: 16138
Description: add additional safety check to avoid empty query reponses dumping too many backtraces when some song data isn't present
Comment 4 Michael Herger 2011-07-01 06:22:04 UTC
Thanks for the fix!