Bug #1712
closedRadio buttons for choice are "all" set as default in Tree Editor
0%
Description
When creating a new instance document, the Tree Editor sets all radio buttons as
the default. If the document is saved without deselecting all but the desired
radio button ("schema choice"), all choice elements are saved - which, results
in an invalid EML document.
Note that this behavior is not verified for all choice sections within the Tree
Editor.
Related issues
Updated by Andrea Andrea about 20 years ago
- Bug 1701 has been marked as a duplicate of this bug. ***
Updated by Saurabh Garg over 19 years ago
Mark, I am not able to figure out a way to reproduce the bug. Can you please
add steps to the bug report on how to reproduce the bug. Thanks.
Updated by Dan Higgins over 19 years ago
To find this bug, open a package in the tree editor and then click on the "Show
All" button. Then look for nodes named "(CHOICE)"
For example, find a dataset with attributes under the dataTable element (e.g.
the jscientist datapackage). There is a (CHOICE) node under the attributeList
element that is all selected radio buttons when the Show All button has been
clicked. These should NOT be radio buttons to begin with, and if they were, only
one should be selected.
Another example - The 'constaint' element follows 'attributeList'. It has a
(CHOICE) subelement which has a series of radio button elements, all of which
are selected.
Dan Higgins - May 2005