Item11008: Foswiki::ListIterator is not always loaded
When I disabled CompareRevisionsAddonPlugin
I ran into the following error when viewing the InstalledPlugins
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
- 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...
- 14 Aug 2011
As far as I can tell this should be Waiting For Release. Is something missing?
- 29 Aug 2011
Marked for Sven's attention, as he did the merge.
- 11 Sep 2011
I think sven just cherry-picked my commit over to release branch. This can be closed.
- 12 Sep 2011