• 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.

Item3703: & nbsp; in the size field of a form will crash the forms code

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Normal Closed   minor 4.2.0

Edit Form Data

Reported By:
Applies To:
Current State:
Waiting For:
Target Release:
Released In:


An nbsp in the size field of a form will crash the forms code. Testcase:
|  *Name* | *Type* | *Size* | *Values* | *Tooltip message* | *Attributes* |
| Name| select |    ||||
It crashes because it assumes the field size is a number. Once you have this in the form it is impossible to edit any topic that contains the form.


mmm, this is working ok on my just checked out MAIN.

|  *Name* | *Type* | *Size* | *Values* | *Tooltip message* | *Attributes* |
| Name| select |    |aaa,bbb,ccc,ddd|||
| Stuff| text |    |aaa,bbb,ccc,ddd|||

-- TWiki:Main.SvenDowideit - 23 Mar 2007

  1. Create ExplodingForm, Paste in the text from above and save
  2. Add ExplodingForm to WEBFORMS in WebPreferences
  3. Edit ExplodingForm, Click Add Form
  4. Select ExplodingForm, Click Change Form
  5. Watch the pretty fireworks.... Argument "nbsp" isn't numeric in numeric gt (>) at D:/MAIN/lib/TWiki/Form.pm line 547.

Rev 13230


Fixed in MAIN.


Summary & nbsp; in the size field of a form will crash the forms code
ReportedBy TWiki:Main.CrawfordCurrie

SVN Range TWiki-4.1.1, Sun, 25 Feb 2007, build 12972
AppliesTo Engine

Priority Normal
CurrentState Closed

Checkins TWikirev:13372
TargetRelease minor
ReleasedIn 4.2.0
Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r8 - 2008-08-03 - KennethLavrsen
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback