NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use trunk.foswiki.org to view this page for some minimal testing.
Use Item9693 for docu changes for 1.2 and 2.0.

Item9147: Generating multiple checked="checked" attributes rendering System.DataForms

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Low Closed Engine DataForms Main.PaulHarvey
New unit test & proper fix to checkbox problems found in Item9007:
  • Original fix killed DataForms functionality
  • But there were no additional unit tests failures, and there should have been
  • Still haven't got a fix that cleans up XHTML validation when rendering preselected checkboxes from DataForms

-- PaulHarvey - 12 Jun 2010

I wrote a test; but I just couldn't figure out how to get the faulty fix that Michael reverted Item9007 to cause it to fail. It certainly failed from a real web browser, however; and it does fail if you mangle Foswiki::Form::Checkbox in other ways.

So, I don't feel there's much more I can do - the tests are better than nothing, one day it would be nice to have Selenium based tests :/

-- PaulHarvey - 14 Jun 2010
 
Topic revision: r13 - 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 LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads