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.
Item11666: Looks like the defaulting of checkboxes in dataforms is broken (at least it is not doing what the docco says)
| Priority: |
CurrentState: |
AppliesTo: |
Component: |
WaitingFor: |
| Urgent |
Closed |
Engine |
Forms |
|
docco says:
Values
For checkboxes, radio buttons and dropdown lists: predefined input to select from. More advanced: this can be a dynamically generated list of values.
The field value will be used to initialize a field when a form is created, unless specific values are given by the topic template or query parameters. The first item in the list for a select or radio type is the default item. For label, text, and textarea fields the value may also contain commas. checkbox fields cannot be initialized through the form definition.
my test in 1.1.4 says that the field is not set for edit screen (visual) and when its saved, the field is not in the topic META at all.
--
SvenDowideit - 17 Mar 2012
Fixed it.
--
CrawfordCurrie - 23 Mar 2012
And broke the unit tests. Thankfully after I built RC1.
Module Failure summary
InitFormTests has 2 unexpected results (of 10):
8 of 10 test cases passed(8)+failed(0) ok from 10 total, 0 skipped
0 + 2 = 2 incorrect results from unexpected passes + failures
1..5
--
GeorgeClark - 25 Mar 2012
tests fixed.
C.
this is being reverted for 1.1.6, as it has more impact on users than a patch release should.
and any resolution to this impact is greater than should be done for a patch release too.
see
Item11982
--
SvenDowideit - 22 Oct 2012