Bug #1712
closed
Radio buttons for choice are "all" set as default in Tree Editor
Added by Mark Servilla about 20 years ago.
Updated over 19 years ago.
Category:
morpho - general
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.
- Bug 1701 has been marked as a duplicate of this bug. ***
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.
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
Original Bugzilla ID was 1712
Also available in: Atom
PDF