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>Item14308 (18 Feb 2017, GeorgeClark)Edit Attach

Item14308: Configure extensions review crashes if plugin module uses "$RELEASE = $VERSION".

pencil
Priority: Urgent
Current State: Closed
Released In: 2.1.3
Target Release: patch
Applies To: Engine
Component: Configure
Branches: Release02x01 master Item14288
Reported By: GeorgeClark
Waiting For:
Last Change By: GeorgeClark
Fails with
2-Failed to eval $VERSION from our $RELEASE = $VERSION; in Foswiki/Plugins/GlobalReplacePlugin.pm at line 24: Global symbol "$VERSION" requires explicit package name (did you forget to declare "my $VERSION"?) at al 709) line 1, <$mf> line 24.

Simple fix is to just skip processing $RELEASE, as the version comparison is sufficient.

-- GeorgeClark - 25 Jan 2017

Better fix is to just not die, but move on. Log the error.

-- GeorgeClark - 25 Jan 2017
 

ItemTemplate edit

Summary Configure extensions review crashes if plugin module uses "$RELEASE = $VERSION".
ReportedBy GeorgeClark
Codebase 2.1.3 beta2, 2.1.3 beta1, 2.1.2, 2.1.1, 2.1.0, 2.1.0 beta1
SVN Range
AppliesTo Engine
Component Configure
Priority Urgent
CurrentState Closed
WaitingFor
Checkins distro:913c0b3250d0
TargetRelease patch
ReleasedIn 2.1.3
CheckinsOnBranches Release02x01 master Item14288
trunkCheckins
masterCheckins distro:913c0b3250d0
ItemBranchCheckins distro:913c0b3250d0
Release02x01Checkins distro:913c0b3250d0
Release02x00Checkins
Release01x01Checkins
Topic revision: r4 - 18 Feb 2017, GeorgeClark - This page was cached on 18 Sep 2018 - 08:41.

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