Item9587: DataDir Checker should verify that WebPreferences topic exists
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
- 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.
- 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
- 28 Oct 2011