You are here: Foswiki>Tasks Web>Item12134 (04 Jan 2015, GeorgeClark)Edit Attach

Item12134: Configure crashes if you set a PERL hash value to -1

pencil
Priority: Low
Current State: No Action Required
Released In: n/a
Target Release: n/a
Applies To: Engine
Component: Configure
Branches:
Reported By: SvenDowideit
Waiting For:
Last Change By: GeorgeClark
hash like 

{'System'=>-1}

Software error:

Could not parse text to a data structure (at:  -1 })
Please go back and check if the text has the correct syntax. at /home/sven/src/foswiki/core/lib/Foswiki/Configure/Types/PERL.pm line 75.
For help, please send mail to the webmaster (webmaster@localhost), giving this error message and the time and date of the error.

Seems to be resolved in Foswiki 1.2. Successfully set a hash and saved config as:

$Foswiki::cfg{UnitTestContrib}{Configure}{PERL} = {'System' => -1};

-- Main.GeorgeClark - 04 Jan 2015 - 22:44

ItemTemplate edit

Summary Configure crashes if you set a PERL hash value to -1
ReportedBy SvenDowideit
Codebase trunk
SVN Range
AppliesTo Engine
Component Configure
Priority Low
CurrentState No Action Required
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release01x01Checkins
Topic revision: r2 - 04 Jan 2015, GeorgeClark
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