Item14534: PublishPlugin: uninitialized value $text while processing InterwikiPlugin.pm line 90
Priority: Normal
Current State: Closed
Released In: n/a
Target Release: n/a
When executing
./rest /PublishPlugin/publish
on the command line the following error occurs:
Use of uninitialized value $text in substitution (s///) at .../lib/Foswiki/Plugins/InterwikiPlugin.pm line 90.
I debugged this a little bit. The corresponding code block is executed twice. The first time the variables get set correctly the second time $text is not set correctly.
my ( $meta, $text ) =
Foswiki::Func::readTopic( $interWeb, $interTopic );
No idea why it works only the first time though.
--
StefanH - 20 Nov 2017
There is a bug when
PublishPlugin re-inits the enabled extensions. It calls it using "Main" as the install web. This causes the plugin to read the interrwiki strings from a missing topic.
--
GeorgeClark - 20 Nov 2017