NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use
trunk.foswiki.org to view this page for some minimal testing.
Use
Item9693 for docu changes for 1.2 and 2.0.
Item10559: Use of uninitialized value in numeric comparison (...) at ... Core.pm line 1421
| Priority: |
CurrentState: |
AppliesTo: |
Component: |
WaitingFor: |
| Normal |
Closed |
Extension |
TablePlugin |
|
Getting a lot of this in my logs (trunk):
Use of uninitialized value in numeric comparison (<=>) at /path/to/core/lib/Foswiki/Plugins/TablePlugin/Core.pm line 1421
--
PaulHarvey - 28 Mar 2011
Updated summary - <=> breaks rss feed.
--
GeorgeClark - 29 Mar 2011
We are getting large numbers of these on Foswiki.org as well. It appears that the numeric url params are not validated for numeric. We are getting 80,000+ errors a day. Seems to be caused by the URL parameters
sort,
sortcol,
table and
up not being validated as provided, and numeric (or
off for
sort=.
Argument "" isn't numeric in numeric gt (>) at /usr/home/foswiki.org/public_html/lib/Foswiki/Plugins/TablePlugin/Core.pm line 539.
Argument "" isn't numeric in numeric eq (==) at /usr/home/foswiki.org/public_html/lib/Foswiki/Plugins/TablePlugin/Core.pm line 620.
Argument "" isn't numeric in array element at /usr/home/foswiki.org/public_html/lib/Foswiki/Plugins/TablePlugin/Core.pm line 756.
Argument "" isn't numeric in array element at /usr/home/foswiki.org/public_html/lib/Foswiki/Plugins/TablePlugin/Core.pm line 761.
Argument "" isn't numeric in array element at /usr/home/foswiki.org/public_html/lib/Foswiki/Plugins/TablePlugin/Core.pm line 762.
Argument "" isn't numeric in array element at /usr/home/foswiki.org/public_html/lib/Foswiki/Plugins/TablePlugin/Core.pm line 763.
Argument "" isn't numeric in array element at /usr/home/foswiki.org/public_html/lib/Foswiki/Plugins/TablePlugin/Core.pm line 780.
Argument "" isn't numeric in numeric lt (<) at /usr/home/foswiki.org/public_html/lib/Foswiki/Plugins/TablePlugin/Core.pm line 1412.
Argument "" isn't numeric in numeric eq (==) at /usr/home/foswiki.org/public_html/lib/Foswiki/Plugins/TablePlugin/Core.pm line 1487.
Argument "" isn't numeric in numeric eq (==) at /usr/home/foswiki.org/public_html/lib/Foswiki/Plugins/TablePlugin/Core.pm line 1541.
--
GeorgeClark - 21 Sep 2011