Item9257: There are configuration settings that are only saved second time through configure

Priority: Normal
Current State: Closed
Released In: 1.1.0
Target Release: minor
Applies To: Engine
Component:
Branches:
Reported By: SvenDowideit
Waiting For:
Last Change By: KennethLavrsen
even though I changed nothing, when i go save a second time I get...

{DetailedOS}   MSWin32
{OS}   WINDOWS
{RCS}{ExtOption}   -x,v
{Site}{CharSet}   iso-8859-1

the ?DEBUG=asd= url param i added for this shows something somewhat interesting about the above that I didn't know

the reduced UI only runs the reduced set of checkers - meaning that there are 'NOT SET' values still... or at least, values that will be wrong for the platform...

This makes it plausible to have a misconfiguration initially.

And brings up another idea i had - if UI.pm detects that the cfg is not fully complete, we could redirect to configure...

-- SvenDowideit - 03 Jul 2010

When configure is run for the first time (before LocalSite.cfg has been created) then only the first section of Foswiki.spec is loaded, and thus checkers only for that subset will be created and run. This means that on some platforms, initial configuration is a two-phase process, as the initial path checks are performed on the first run, and only on the second run, when LocalSite.cfg exists, are the other checkers built and invoked. This needs improving on, but I don't think it's Urgent, so regrading as Normal and confirming.

OS and DetailedOS arguably ought to be in that first section.

-- CrawfordCurrie - 06 Jul 2010

moved the OS settings, and raised Development/LeadNewInstallersToConfigure

-- SvenDowideit - 12 Jul 2010

 

ItemTemplate edit

Summary There are configuration settings that are only saved second time through configure
ReportedBy SvenDowideit
Codebase trunk
SVN Range
AppliesTo Engine
Component
Priority Normal
CurrentState Closed
WaitingFor
Checkins distro:abec202ff36d distro:764250e77dd7 distro:dc96a22f937a
TargetRelease minor
ReleasedIn 1.1.0
Topic revision: r10 - 04 Oct 2010, KennethLavrsen
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons License