Item1888: PreferencesPlugin obfuscates web automatically

pencil
Priority: Normal
Current State: Closed
Released In: 1.1.0
Target Release: minor
Applies To: Extension
Component: PreferencesPlugin
Branches:
Reported By: WolfgangRaus
Waiting For:
Last Change By: KennethLavrsen

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 distro:405b92c85809 distro:fbe98b8791d3 distro:dc962a0296bf
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 Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy