You are here: Foswiki>Tasks Web>Item9587 (13 Dec 2011, JayenAshar)Edit Attach

Item9587: DataDir Checker should verify that WebPreferences topic exists

pencil
Priority: Enhancement
Current State: Closed
Released In: 1.1.0
Target Release: minor
Applies To: Engine
Component: Configure
Branches:
Reported By: GeorgeClark JayenAshar
Waiting For:
Last Change By: JayenAshar
There was a bug in 1.0.x where certain Func calls would create a missing web directory without actually making it a valid Web. This could leave a misconfigured (and invisible) web in the store.

Update DataDir checker to check for existence of WebPreferences and report warning for any web directories with missing Preferences topic.

Note: If TestCases are installed, the following warnings are reported:
Warning: 3 files are missing.. The web directories have been checked for a WebPreferences topic. If this file is missing, 
Foswiki will not recognize the directory as a Web and the contents will not be accessible to Foswiki. 
Verify that each directory is intented to be a web and either copy in a WebPreferences topic or remove 
the directory to correct the warning. 

First 10 detected errors of insufficient, or excessive permissions, and all instances of missing files. 
/var/www/foswiki/trunk/core/data/TestCases/SubWeb missing WebPreferences Topic
/var/www/foswiki/trunk/core/data/TestCases/SubWeb_ missing WebPreferences Topic
/var/www/foswiki/trunk/core/data/TestCases/Item missing WebPreferences Topic

-- GeorgeClark - 29 Aug 2010

Should I be getting this for the data directory? I'm getting: /srv/www/wiki/data missing WebPreferences Topic

This is a fresh installation on 1.1.3.

-- JayenAshar - 28 Oct 2011

That's fixed in 1.1.4 - You can ignore the error. The code that searches for data doesn't stop at the right place. item10784

-- GeorgeClark - 28 Oct 2011
 

ItemTemplate edit

Summary DataDir Checker should verify that WebPreferences topic exists
ReportedBy GeorgeClark JayenAshar
Codebase trunk
SVN Range
AppliesTo Engine
Component Configure
Priority Enhancement
CurrentState Closed
WaitingFor
Checkins distro:ff2a053a8415 distro:da4ec9fdd623
TargetRelease minor
ReleasedIn 1.1.0
trunkCheckins
Release01x01Checkins
Topic revision: r9 - 13 Dec 2011, JayenAshar
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