• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item6573: PreferencesPlugin cannot save empty settings

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension PreferencesPlugin Normal Closed   major 6.0.0

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

I am trying to configure the form for the PreferencesPlugin used for WebPreferences and I find no way to set a variable to an empty string.When I clear a text field this is interpreted as 'do not change' by the PreferencesPlugin. There is also no way to use a special word like none as for the TopicParent. This would be needed for NOSEARCHALL for instance which has to be set to an empty string to disable it.

PreferencesPlugin should be extended in a way to support this. The best I can see is a field attribute ( E for instance) that would allow saving empty values (as opposed to the M attribute).

-- TWiki:Main/StefanWalter - 2010-08-30

Good point. Setting this issue to "confirmed". Please help fix bugs.

-- TWiki:Main.PeterThoeny - 2010-08-30

Testing:

  • Set TEXT_FIELD =

-- TWiki:Main.PeterThoeny - 2013-09-28

This seems to be is fixed now, verified with example above.

-- TWiki:Main.PeterThoeny - 2013-09-28

ItemTemplate
Summary PreferencesPlugin cannot save empty settings
ReportedBy TWiki:Main.StefanWalter
Codebase ~twiki4, 5.0.0
SVN Range TWiki-5.0.0, Sat, 21 Aug 2010, build 19350
AppliesTo Extension
Component PreferencesPlugin
Priority Normal
CurrentState Closed
WaitingFor

Checkins

TargetRelease major
ReleasedIn 6.0.0
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r4 - 2013-10-15 - PeterThoeny
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback