You are here: Foswiki>Tasks Web>Item13326 (17 Aug 2015, GeorgeClark)Edit Attach

Item13326: During bootstrap, $Foswiki::cfg{ScriptUrlPath} is incorrectly expanded to 'undef' in some settings.

pencil
Priority: Normal
Current State: Duplicate
Released In: n/a
Target Release: minor
Applies To: Engine
Component: Configure, ConfigureBootstrap
Branches:
Reported By: JozefMojzis
Waiting For:
Last Change By: GeorgeClark

Bootstrap configure didn't detects configure's url

How to reproduce

  • clean foswiki from the GIT - trunk
  • perl -T ./pseudo-install.pl developer
  • tools/tools/lighttpd.pl
  • visit 1st configure (bootstrap)
  • in the Extensions -> UpdatesPlugin is an error
  • like in the attached screenshot

-- JozefMojzis - 24 Mar 2015

This is partly cosmetic, but I agree that this really ought to not be happening. I can't quite follow though where to resolve the issue. It appears to be specific just to the Plugins, and only until initial save. Once you save the configuration, the field is set correctly. and the problem goes away. The field is saved correctly in it's "unexpanded" form. But it's still annoying.

A "quick fix" would be to have the checker not check that field during bootstrap, but it would still be wrong. And since it's the "generic" checker, probably not a safe fix. I'm not sure why the values of other extensions don't get expanded and error like this. I've looked at this a couple of times and have not been able to figure out a solution.

-- GeorgeClark - 24 Mar 2015

Duplicate of Item13254

-- GeorgeClark - 14 Jun 2015
 

  • screenshot_39.png:
    screenshot 39.png

ItemTemplate edit

Summary During bootstrap, $Foswiki::cfg{ScriptUrlPath} is incorrectly expanded to 'undef' in some settings.
ReportedBy JozefMojzis
Codebase 1.2.0 beta1, trunk
SVN Range
AppliesTo Engine
Component Configure, ConfigureBootstrap
Priority Normal
CurrentState Duplicate
WaitingFor
Checkins
TargetRelease minor
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release01x01Checkins
I Attachment Action Size Date Who Comment
screenshot_39.pngpng screenshot_39.png manage 24 K 24 Mar 2015 - 10:31 JozefMojzis  
Topic revision: r6 - 17 Aug 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