Foswiki on GitHub is open for business! Next release meeting: Monday September 15, 1300Z

Item11227: TablePlugin causes undef errors in Perl Time routines

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Normal Closed Engine FoswikiTime GeorgeClark
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

 

ItemTemplate edit

Summary TablePlugin causes undef errors in Perl Time routines
ReportedBy GeorgeClark
Codebase 1.1.4 beta2, 1.1.4 beta1, 1.1.3, trunk
SVN Range
AppliesTo Engine
Component FoswikiTime
Priority Normal
CurrentState Closed
WaitingFor GeorgeClark
Checkins Foswikirev:12974 Foswikirev:12993
TargetRelease patch
ReleasedIn 1.1.4
trunkCheckins Foswikirev:12993
Release01x01Checkins Foswikirev:12974
Topic revision: r6 - 17 Dec 2011, GeorgeClark
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons License