Item11227: TablePlugin causes undef errors in Perl Time routines
Priority: Normal
Current State: Closed
Released In: 1.1.4
Target Release: patch
Use of uninitialized value $month in integer gt (>) at /usr/lib/perl5/vendor_perl/5.12.2/Time/Local.pm line 102.
Use of uninitialized value $month in integer lt (<) at /usr/lib/perl5/vendor_perl/5.12.2/Time/Local.pm line 102.
Use of uninitialized value $month in array element at /usr/lib/perl5/vendor_perl/5.12.2/Time/Local.pm line 106.
Use of uninitialized value $month in integer eq (==) at /usr/lib/perl5/vendor_perl/5.12.2/Time/Local.pm line 107.
Use of uninitialized value $_[4] in pack at /usr/lib/perl5/vendor_perl/5.12.2/Time/Local.pm line 69.
Use of uninitialized value $_[4] in integer addition (+) at /usr/lib/perl5/vendor_perl/5.12.2/Time/Local.pm line 70.
Use of uninitialized value $month in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.12.2/Time/Local.pm line 123.
Caused when column sort is incorrectly recognized as a date by Foswiki::Time
TablePlugin calls Foswiki::Time in a try/catch clause to determine if the field might be a date. In this case string was
Foswiki v.1.0.5 and 185 Extensions.WebHome with dependencies - for instructions follow the link.%BR%_Works for Debian and Ubuntu._
Added additional unit test case and test in Foswiki::Time
--
GeorgeClark - 01 Nov 2011