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.

Item1888: PreferencesPlugin obfuscates web automatically

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Normal Closed Extension PreferencesPlugin  

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

ItemTemplate edit

Summary PreferencesPlugin obfuscates web automatically
ReportedBy WolfgangRaus
Codebase 1.0.5
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Extension
Component PreferencesPlugin
Priority Normal
CurrentState Closed
WaitingFor
Checkins Foswikirev:7939 Foswikirev:7942 Foswikirev:7943
TargetRelease minor
ReleasedIn 1.1.0
Topic revision: r8 - 04 Oct 2010, KennethLavrsen
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons License