Item10249: configure can't handle path names containing $Foswiki::cfg - variables

pencil
Priority: Normal
Current State: Closed
Released In: n/a
Target Release: n/a
Applies To: Engine
Component: Configure
Branches:
Reported By: KerstinPuschke
Waiting For:
Last Change By: CrawfordCurrie
If you have something like $Foswiki::cfg{TemplatePath} = /my/path/$Foswiki::cfg{FooBar}/templates in your LocalSite.cfg, configure displays these path names correctly without expanding $Foswiki::cfg{FooBar}. Unfortunately, the checks it runs do not expand either so that they fail and configure falsely reports a number of errors.

-- KerstinPuschke - 12 Jan 2011

The 7 bootstrapped configuration directories ( ScriptDir, PubDir, DataDir, ToolsDir, TemplateDir, LocalesDir, and WorkingDir) that are initially guessed by configure don't have the code to allow them to be dependent upon other configuration variables. Some of them are processed very early in initialization before the configuration is fully initialized.

-- GeorgeClark - 12 Jan 2011

I added the code that allows them to be dependent - at least on settings delivered from LocalLib.cfg - in Item10940. This code is non-invasive i.e. it only kicks in when embedded vars are actually used, so it addresses this report.

-- CrawfordCurrie - 06 Jul 2011

 

ItemTemplate edit

Summary configure can't handle path names containing $Foswiki::cfg - variables
ReportedBy KerstinPuschke
Codebase 1.1.2
SVN Range
AppliesTo Engine
Component Configure
Priority Normal
CurrentState Closed
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
Topic revision: r4 - 06 Jul 2011, CrawfordCurrie
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