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

Item11000: Foswiki::Time shouldn't be trying to convert undefined $epochSeconds

Priority: Normal
Current State: Closed
Released In: n/a
Target Release: patch
Applies To: Engine
Component: FoswikiTime
Reported By: PaulHarvey
Waiting For: PaulHarvey
Last Change By: GeorgeClark
   Foswiki::Time::formatTime(undef) called at /usr/local/src/ line 1557
   Foswiki::Meta::getRev1Info('Foswiki::Meta=HASH(0x3cb1008)', 'createdate') called at /usr/local/src/ line 278
   Foswiki::Plugins::MongoDBPlugin::_updateTopic('System', 'VarNEXUSTREES', 'Foswiki::Meta=HASH(0x3cb1008)', 'HASH(0x3af6c48)') called at /usr/local/src/ line 221
   Foswiki::Plugins::MongoDBPlugin::updateWebCache('System', 1) called at /usr/local/src/ line 182
   Foswiki::Plugins::MongoDBPlugin::_update('Foswiki=HASH(0x1a95778)', 'MongoDBPlugin', 'update', 'Foswiki::Response=HASH(0x1a7f700)') called at /usr/local/src/ line 665
   Foswiki::Func::__ANON__('Foswiki=HASH(0x1a95778)', 'MongoDBPlugin', 'update', 'Foswiki::Response=HASH(0x1a7f700)') called at /usr/local/src/ line 249
   Foswiki::UI::Rest::rest('Foswiki=HASH(0x1a95778)') called at /usr/local/src/ line 316
   Foswiki::UI::__ANON__() called at /usr/share/perl5/ line 416
   eval {...} called at /usr/share/perl5/ line 408
   Error::subs::try('CODE(0x137fd30)', 'HASH(0x1a9d2d0)') called at /usr/local/src/ line 435
   Foswiki::UI::_execute('Foswiki::Request=HASH(0x1a7fdf0)', 'CODE(0x1a7fa48)', 'rest', 1, 'command_line', 1) called at /usr/local/src/ line 274
   Foswiki::UI::handleRequest('Foswiki::Request=HASH(0x1a7fdf0)') called at /usr/local/src/ line 53
   Foswiki::Engine::CLI::run('Foswiki::Engine::CLI=HASH(0x142f7d0)') called at bin/rest line 29.

I'm not sure whether this affects release branch, but I'm adding ASSERTs there too.

-- PaulHarvey - 25 Jul 2011

needs a test with a cooked TOPICINFO that lacks a date key

-- PaulHarvey - 27 Jul 2011

Is this fixed? Should it be documented in 1.1.4? Trunk?

-- GeorgeClark - 03 Oct 2011

ItemTemplate edit

Summary Foswiki::Time shouldn't be trying to convert undefined $epochSeconds
ReportedBy PaulHarvey
Codebase trunk
SVN Range
AppliesTo Engine
Component FoswikiTime
Priority Normal
CurrentState Closed
WaitingFor PaulHarvey
Checkins distro:6c2cb8046b6a distro:cce6d72970ca distro:2655d72071af distro:16a35ee87c3c
TargetRelease patch
ReleasedIn n/a
Topic revision: r9 - 17 Dec 2011, GeorgeClark - This page was cached on 15 Jan 2020 - 21:32.

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