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

Item4859: Mandatory form field flag ignored on save

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Urgent Closed   n/a  

Edit Form Data

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


As described in summary.

Test case: LitterTray.TestAutoInc:

  • Create new topic with empty Title
  • New topic is created (bug)
    • Title form field is missing (bug)
  • Edit new topic
  • Try to save with empty Title field: Error message (as expected)
  • Save with text in Title field: OK (as expected)

-- TWiki:Main/PeterThoeny - 19 Oct 2007

This is not just an AUTOINC bug. If you disable javascript when you are editing a topic with an empty mandatory field, it also erroniously allows you to save.

similarly, if you use the direct save url, I expect it will erroniously succeed

-- TWiki:Main.SvenDowideit - 15 Nov 2007

Problem was due to the incorrect assumption that a field value set to undef in the query was the same as that field not being set. Corrected.


Summary Mandatory form field flag ignored on save
ReportedBy TWiki:Main.PeterThoeny
Codebase 4.2.0, ~twiki4
SVN Range TWiki-4.3.0, Fri, 12 Oct 2007, build 15261
AppliesTo Engine

Priority Urgent
CurrentState Closed

Checkins TWikirev:15625 TWikirev:15626
TargetRelease n/a

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r3 - 2007-11-17 - CrawfordCurrie
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