You are here: Foswiki>Tasks Web>Item10011 (28 Apr 2014, GeorgeClark)Edit Attach

Item10011: configure mis-reads comments in a PERL type setting

pencil
Priority: Normal
Current State: No Action Required
Released In: n/a
Target Release: major
Applies To: Engine
Component: Configure
Branches:
Reported By: SvenDowideit
Waiting For: Main.SvenDowideit
Last Change By: GeorgeClark
if you create an Extension's Config.spec thusly

# ---+ Extensions
# ---++ RestPlugin
# **PERL H**
# This setting is required to enable executing the query script from the bin directory
$Foswiki::cfg{SwitchBoard}{query} = {
    package  => 'Foswiki::UI::Query',
    function => 'query',
#    context  => { query => 1,
#                },
    };
1;

and then save in configure

not only does configure not report this setting as set (ok, sort of), but the commented out parts are set in LocalSite.cfg as though the =#='s didn't exist.

-- SvenDowideit - 12 Nov 2010

AFAICT this all works fine, with the comments treated as comments, and not transferred on to LSC. I followed the steps as outline above and it's fine.

It might have been fixed by George at some point; can you please check and if there is still a problem, describe how to reproduce it. Thanks.

-- CrawfordCurrie - 18 Jan 2012

Any news? I'm closing this Sven, please re-open if this is still an issue.

-- GeorgeClark - 28 Apr 2014
 

ItemTemplate edit

Summary configure mis-reads comments in a PERL type setting
ReportedBy SvenDowideit
Codebase trunk
SVN Range
AppliesTo Engine
Component Configure
Priority Normal
CurrentState No Action Required
WaitingFor SvenDowideit
Checkins
TargetRelease major
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
Release01x01Checkins
Topic revision: r4 - 28 Apr 2014, 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