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.

Item11008: Foswiki::ListIterator is not always loaded

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Urgent Closed Engine   Main.SvenDowideit
When I disabled CompareRevisionsAddonPlugin I ran into the following error when viewing the InstalledPlugins topic:

Foswiki detected an internal error - please check your Foswiki logs and webserver logs for more information.

Can't locate object method "new" via package "Foswiki::ListIterator"

Looking at the logs I see:

Can't locate object method "new" via package "Foswiki::ListIterator" at /wiki/lib/Foswiki/Store/VC/Handler.pm line 268.
 at /wiki/lib/Foswiki/Store/VC/Handler.pm line 266        Foswiki::Store::VC::Handler::getRevisionHistory('Foswiki::Store::VC::RcsWrapHandler=HASH(0x8aa55d0)') called at /wiki/lib/Foswiki/Store/VC/Store.pm line 228
        
Foswiki::Store::VC::Store::getRevisionHistory('Foswiki::Store::RcsWrap=HASH(0x8923cc4)', 'Foswiki::Meta=HASH(0x999b12c)', 'undef') called at /wiki/lib/Foswiki/Meta.pm line 2319        
Foswiki::Meta::getRevisionHistory('Foswiki::Meta=HASH(0x999b12c)') called at /wiki/lib/Foswiki/UI/View.pm line 117

Initially I thought it was related to the plugin, but now that I see that unless a plugin load fails, I get that error on the InstalledPlugins page. It appears a requires ListIterator needs to be in lib/Foswiki/Store/VC/Handler.pm

-- TimHeilig - 28 Jul 2011

merged Paul's fix into 1.1 branch - this is actually somewhat urgent, as it is a crash in 1.1.3...

-- SvenDowideit - 14 Aug 2011

As far as I can tell this should be Waiting For Release. Is something missing?

-- KennethLavrsen - 29 Aug 2011

Marked for Sven's attention, as he did the merge.

-- CrawfordCurrie - 11 Sep 2011

I think sven just cherry-picked my commit over to release branch. This can be closed.

-- PaulHarvey - 12 Sep 2011
 

ItemTemplate edit

Summary Foswiki::ListIterator is not always loaded
ReportedBy TimHeilig
Codebase 1.1.3, trunk
SVN Range
AppliesTo Engine
Component
Priority Urgent
CurrentState Closed
WaitingFor SvenDowideit
Checkins Foswikirev:12248 Foswikirev:12317
TargetRelease patch
ReleasedIn 1.1.4
Topic revision: r8 - 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