Bug #2197
closedMorpho fails to load number type when editing column documentation
0%
Description
When you right click on a column and select "Edit Column Documentation", the number type for that
column (natural number, integer, real, etc) is not loaded into the editing window. Thus, the type listed
when you open the window is always "natural numbers", and you have to remember to change it to the
appropriate type every time you edit the column's documentation.
Updated by Will Tyburczy about 18 years ago
This creates problems when trying to use data sets in Kepler, as they often have the incorrect number type selected as a result of this bug. I think we should step up the priority of the bug, especially since I don't think it should be that hard to fix.
Updated by Matt Jones over 16 years ago
This bug has been reported again by Gail Steinhart <gss1@cornell.edu>, who reports:
"Just wondering if anyone has reported this Morpho bug: when I choose Data > Edit column documentation from the Morpho menu, the number type is reset to "NATURAL", regardless of my previous selection - most inconvenient!"
I think the priority on this should be moved up to 1.6.2, as it seems like a simple problem and one easily fixed for the 1.6.2 release. Jing, please recategorize if this takes a long time to fix.
Updated by Jing Tao over 16 years ago
In edu/ucsb/nceas/morpho/plugins/datapackagewizard/pages/IntervalRatioPanel.java class, it had a line:
numberTypePickList.setSelectedItem(type);
Actually, the type value is different to the display value of the JComboBox numberTypePickList. So the panel will display the default value.
I add a new method to transfer the type to display value, then the bug was fixed.