Item14400: Configure settings leak into the global $Foswiki::cfg hash in fcgi environment

pencil
Priority: Urgent
Current State: Closed
Released In: 2.1.4
Target Release: patch
Applies To: Extension
Component: Configure
Branches: Release02x01 master Item14288
Reported By: GeorgeClark
Waiting For:
Last Change By: GeorgeClark
On a system that is missing the DBI perl module:

  • Enable the PageCache
  • Attempt to disable the page cache - The JSON request returns 500 - crashed due to missing Perl module DBI
  • Attempt to reload Configure, it crashes
  • Try to view Main/WebHome - it crashes

I recreated this on the Foswiki VM, by removing the DBI module.

The crash will be fixed in 2.1.4, by a fix to Foswiki.pm that disables the Cache, but the underlying issue - unsaved config changes leaking into the live $Foswiki::cfg hash still exists.

-- GeorgeClark - 21 May 2017

 

ItemTemplate edit

Summary Configure settings leak into the global $Foswiki::cfg hash in fcgi environment
ReportedBy GeorgeClark
Codebase 2.1.4 RC1, 2.1.3
SVN Range
AppliesTo Extension
Component Configure
Priority Urgent
CurrentState Closed
WaitingFor
Checkins distro:0324256d171b
TargetRelease patch
ReleasedIn 2.1.4
CheckinsOnBranches Release02x01 master Item14288
trunkCheckins
masterCheckins distro:0324256d171b
ItemBranchCheckins distro:0324256d171b
Release02x01Checkins distro:0324256d171b
Release02x00Checkins
Release01x01Checkins
Topic revision: r5 - 01 Jun 2017, GeorgeClark - This page was cached on 23 Sep 2017 - 16:57.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License