cross
New Foswiki release 2.1.6 is available with important security fixes.
Sourceforge foswiki email lists being discontinued. Subscribe to the new Foswiki announce and discuss lists at MailingLists
You are here: Foswiki>Tasks Web>Item11008 (17 Dec 2011, GeorgeClark)Edit Attach

Item11008: Foswiki::ListIterator is not always loaded

pencil
Priority: Urgent
Current State: Closed
Released In: 1.1.4
Target Release: patch
Applies To: Engine
Component:
Branches:
Reported By: TimHeilig
Waiting For: Main.SvenDowideit
Last Change By: GeorgeClark
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 distro:4aff070b3fd9 distro:842f354cffb0
TargetRelease patch
ReleasedIn 1.1.4
Topic revision: r8 - 17 Dec 2011, GeorgeClark - This page was cached on 22 Jun 2018 - 01:05.

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