Bug 11539 - UI interaction triggers template warning
: UI interaction triggers template warning
Status: NEW
Product: Logitech Media Server
Classification: Unclassified
Component: Player UI
: 7.4.0
: PC Other
: P5 normal (vote)
: 8.0.0
Assigned To: Andy Grundman
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-03-29 03:23 UTC by Carson Gaspar
Modified: 2011-03-16 04:34 UTC (History)
0 users

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carson Gaspar 2009-03-29 03:23:58 UTC
Solaris x86 u6, perl 5.8.8, squeezecenter 7.4-25724

The first UI interaction I do via the web UI after starting squeezecenter always triggers an error of the form:

[09-03-29 03:20:57.1699] Slim::Utils::Misc::msg (1113) Warning: [03:20:57.1695] Argument "" isn't numeric in numeric gt (>) at /var/cache/slimserver/templates/2756ec15f94b316a6220f2ffd2aadc50 line 156.

Which is caused by:

    #line 112 "/export/Tools/SunOS_5.10_i86pc_amd64/squeezecenter-7.4-25724/HTML
/Default/pageheader.html"
    if ($stash->get('pageHeaderMenu') && ! $stash->get('pwd_list')) {
    #line 112 "/export/Tools/SunOS_5.10_i86pc_amd64/squeezecenter-7.4-25724/HTML
/Default/pageheader.html"
    $stash->set('pwd_list', [ $stash->get('pageHeaderMenu') ]);
    }

    #line 112 "/export/Tools/SunOS_5.10_i86pc_amd64/squeezecenter-7.4-25724/HTML
/Default/pageheader.html"
    if ($stash->get('pwd_list') && $stash->get('pwd_list') ne '' && $stash->get(
['pwd_list', 0, 'length', 0]) > 0) {
    #line 112 "/export/Tools/SunOS_5.10_i86pc_amd64/squeezecenter-7.4-25724/HTML
/Default/pageheader.html"
    $stash->set('pwd_list', [ $stash->get('pwd_list') ]);
Comment 1 Andy Grundman 2009-07-29 14:59:04 UTC
Moving 7.4 bugs to 8.0.