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

Item14615: XMLStoreContrib uses forbidden perl syntax.

Priority: Urgent
Current State: Waiting for Release
Released In: n/a
Target Release:
Applies To: Extension
Component: PlantUMLPlugin, XMLStoreContrib
Branches: master
Reported By: GeorgeClark
Waiting For:
Last Change By: JohnKnutson
Foswiki::Plugins::PlantUMLPlugin could not be loaded.  Errors were:
Experimental keys on scalar is now forbidden at /srv/www/foswiki/htdocs/lib/Foswiki/Contrib/ line 227.
 at /srv/www/foswiki/htdocs/lib/Foswiki/Contrib/ line 227.

-- GeorgeClark - 02 Feb 2018

The following patch is reported as fixing the issue. See Support.Question1923.
diff --git a/lib/Foswiki/Contrib/ b/lib/Foswiki/Contrib/
index 329d265..65e12c9 100644
--- a/lib/Foswiki/Contrib/
+++ b/lib/Foswiki/Contrib/
@@ -224,8 +224,8 @@ sub save {
     # Remove all nodes associated with the updated topic from the most
     # recent document, then add the possibly changed nodes back in.
     my $diskroot = $doc->documentElement();
-    foreach my $web (sort keys $self->{'updated'}) {
-        foreach my $topic (sort keys $self->{'updated'}->{$web}) {
+    foreach my $web (sort keys %{ $self->{'updated'} }) {
+        foreach my $topic (sort keys %{ $self->{'updated'}->{$web} }) {
             my @nodes = $doc->findnodes(
                 "/" . $self->{'rootname'} . "/" . $self->{'nodename'} .
                 "[\@web='$web' and \@topic='$topic']");

-- GeorgeClark - 02 Feb 2018
Topic revision: r3 - 22 Feb 2018, JohnKnutson - This page was cached on 22 Jul 2018 - 01:18.

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