Bug #1771
Deleting row of taxonomic info in DPW prevents selection of other rows,
0%
Description
In the top portion of the taxonomic coverage screen in the DPW, if you add a
few rows of information, and then delete the bottom row, the other rows become
unselectable, and the DELETE and EDIT buttons disappear.
This bug was discovered by Veronique.
History
#1 Updated by Will Tyburczy over 14 years ago
This seems to occur anytime the last row of information is deleted after another row has been added or deleted. I get similar behavior when trying to delete keywords from a keywordSet. When this occurs in the taxonomicCoverage area, the OK button also fails to work, preventing the saving of any changes.
The std.err log gives:
Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: 16 >= 16
at java.util.Vector.elementAt(Vector.java:432)
at javax.swing.table.DefaultTableModel.getValueAt(DefaultTableModel.java:621)
at javax.swing.JTable.getValueAt(JTable.java:1902)
at edu.ucsb.nceas.morpho.plugins.datapackagewizard.CustomJTable.getTextFieldEditor(CustomList.java:1793)
at edu.ucsb.nceas.morpho.plugins.datapackagewizard.CustomJTable.changeSelection(CustomList.java:1844)
(I've truncated the stackTrace here)
#2 Updated by ben leinfelder almost 11 years ago
i'll take a look at this
#3 Updated by ben leinfelder almost 11 years ago
now checking for out of range
#4 Updated by Redmine Admin almost 8 years ago
Original Bugzilla ID was 1771