Item1888: PreferencesPlugin obfuscates web automatically
Priority: Normal
Current State: Closed
Released In: 1.1.0
Target Release: minor
Bug #1:
If you create a new web, set Hidden to "No" (means: NOSEARCHALL =), insert the Macro %EDITPREFERENCES{ "System.DefaultPreferencesForm" } in the WebPreferences Topic in the newly created web and change any setting, then this web will disappear from the
WEBLIST in the sidebar, if you are not admin.
The reason is:
- the definition of NOSEARCHALL in the dataform: "select, 1, off,on" - if there is the default setting "", the form will set "off".
- or the behaviour of %WEBLIST%: if NOSEARCHALL is set to "off", it is treated like "on". If it is set to "bumsti", it is treated like "on".
Bug #2:
If you change the Macro to only %EDITPREFERENCES, then you can enter any text at NOSEARCHALL. If you delete all the content of this text field and klick on "Save new Settings" then it will not save this definition. The old content (e.g., "bumsti") is not changed. If you insert "" in the textfield, then "" is saved. NOSEARCHALL = "" has the same effect in the
WEBLIST: the web is obfuscated.
--
WolfgangRaus - 06 Aug 2009
Fixed in 1.1 - note that arbitrary content (e.g. "bumsti") is treated like a "true" value. This is consistent with other Foswiki settings.
--
MichaelTempest - 27 Jun 2010