You are here: Foswiki>Tasks Web>Item11227 (17 Dec 2011, GeorgeClark)Edit Attach

Item11227: TablePlugin causes undef errors in Perl Time routines

pencil
Priority: Normal
Current State: Closed
Released In: 1.1.4
Target Release: patch
Applies To: Engine
Component: FoswikiTime
Branches:
Reported By: GeorgeClark
Waiting For: GeorgeClark
Last Change By: 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 distro:002d9eb7774b distro:75237bcf071b
TargetRelease patch
ReleasedIn 1.1.4
trunkCheckins distro:75237bcf071b
Release01x01Checkins distro:002d9eb7774b
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 Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy