Tracker fields of Radio buttons and multiple selection pre-select value 0 when it's one of the options even if not manually set as default
Set as options for that tracker field: 1,2,3,4, and no value is pre-selected (expected behavior)
Set as options for that tracker field: 0,1,2,3,4, and value 0 is pre-selected (wrong behavior; no value should be preselected, since no value is repeated twice)
Workaround (for radio buttons): 0,1,2,3,4, ,
(note that a space is set as option, twice, after value 4).
For multiple selections this workaround is not valid, since value 0 is also pre-selected.
Reproduced here:
http://xavi-9794-5599.show.tikiwiki.org/tiki-view_tracker_item.php?itemId=1&cookietab=2
u: admin
p: 12345
See fields 5 (radio button) and 6 (multiple select)
Update:
Bug still alive, it seems jonny. I svn-up'ed to Thursday March 26, 2015 09:25:10 CET - REV 54744, and new items from your new tracker show a default value of "0" preseleected for the radio button, even if no value should be pre-selected according to the configuration.
See:
http://xavi-9794-5599.show.tikiwiki.org/tiki-ajax_services.php?controller=tracker&action=insert_item&trackerId=2&modal=1
And the radio button field definition (http://xavi-9794-5599.show.tikiwiki.org/tiki-ajax_services.php?trackerId=2&fieldId=9&controller=tracker&action=edit_field) still has as options: "0,1,2,3,4", so no pre-selection is expected, but "0" is pre-selected.
Hopefully r54738
Bug still alive, jonnyb, unluckily. See the updated report above
Fixed (remaining issue) by anbumania in r54880, and backported to 13.x and 12.x!
To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.
To help developers solve the bug, we kindly request that you demonstrate your bug on a show.tikiwiki.org instance. To start, simply select a version and click on "Create show.tikiwiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show.tikiwiki.org.
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |