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

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

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Normal Closed Engine FoswikiTime PaulHarvey
   Foswiki::Time::formatTime(undef) called at /usr/local/src/wiki.foo.org/core/lib/Foswiki/Meta.pm line 1557
   Foswiki::Meta::getRev1Info('Foswiki::Meta=HASH(0x3cb1008)', 'createdate') called at /usr/local/src/wiki.foo.org/core/lib/Foswiki/Plugins/MongoDBPlugin.pm line 278
   Foswiki::Plugins::MongoDBPlugin::_updateTopic('System', 'VarNEXUSTREES', 'Foswiki::Meta=HASH(0x3cb1008)', 'HASH(0x3af6c48)') called at /usr/local/src/wiki.foo.org/core/lib/Foswiki/Plugins/MongoDBPlugin.pm line 221
   Foswiki::Plugins::MongoDBPlugin::updateWebCache('System', 1) called at /usr/local/src/wiki.foo.org/core/lib/Foswiki/Plugins/MongoDBPlugin.pm line 182
   Foswiki::Plugins::MongoDBPlugin::_update('Foswiki=HASH(0x1a95778)', 'MongoDBPlugin', 'update', 'Foswiki::Response=HASH(0x1a7f700)') called at /usr/local/src/wiki.foo.org/core/lib/Foswiki/Func.pm line 665
   Foswiki::Func::__ANON__('Foswiki=HASH(0x1a95778)', 'MongoDBPlugin', 'update', 'Foswiki::Response=HASH(0x1a7f700)') called at /usr/local/src/wiki.foo.org/core/lib/Foswiki/UI/Rest.pm line 249
   Foswiki::UI::Rest::rest('Foswiki=HASH(0x1a95778)') called at /usr/local/src/wiki.foo.org/core/lib/Foswiki/UI.pm line 316
   Foswiki::UI::__ANON__() called at /usr/share/perl5/Error.pm line 416
   eval {...} called at /usr/share/perl5/Error.pm line 408
   Error::subs::try('CODE(0x137fd30)', 'HASH(0x1a9d2d0)') called at /usr/local/src/wiki.foo.org/core/lib/Foswiki/UI.pm line 435
   Foswiki::UI::_execute('Foswiki::Request=HASH(0x1a7fdf0)', 'CODE(0x1a7fa48)', 'rest', 1, 'command_line', 1) called at /usr/local/src/wiki.foo.org/core/lib/Foswiki/UI.pm line 274
   Foswiki::UI::handleRequest('Foswiki::Request=HASH(0x1a7fdf0)') called at /usr/local/src/wiki.foo.org/core/lib/Foswiki/Engine/CLI.pm 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
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons License