NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use trunk.foswiki.org to view this page for some minimal testing.
Use Item9693 for docu changes for 1.2 and 2.0.

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 Foswikirev:12228 Foswikirev:12231 Foswikirev:12232 Foswikirev:12693
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 LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads