The foswiki svn repository will become read-only on Friday 8/8. Developers should register for a http://github.com/ account for commit access to foswiki.

Item9587: DataDir Checker should verify that WebPreferences topic exists

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Enhancement Closed Engine Configure  
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 Foswikirev:8819 Foswikirev:8822
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 CopyrightStatement. Creative Commons License