Project

General

Profile

Actions

Bug #1771

closed

Deleting row of taxonomic info in DPW prevents selection of other rows,

Added by Andrea Andrea over 19 years ago. Updated about 14 years ago.

Status:
Resolved
Priority:
Immediate
Category:
morpho - general
Target version:
Start date:
11/18/2004
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
1771

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.

Actions #1

Updated by Will Tyburczy almost 18 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)

Actions #2

Updated by ben leinfelder about 14 years ago

i'll take a look at this

Actions #3

Updated by ben leinfelder about 14 years ago

now checking for out of range

Actions #4

Updated by Redmine Admin about 11 years ago

Original Bugzilla ID was 1771

Actions

Also available in: Atom PDF