This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 62782

Summary: Create Table - Remove row action renames neighbouring row
Product: db Reporter: Martin Schovanek <mschovanek>
Component: CodeAssignee: Andrei Badea <abadea>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P3    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Martin Schovanek 2005-08-22 15:53:31 UTC
[#200508211800, jdk1.4.2]

to reproduce:
-------------
1) right-click a Tables node and choose Create Table
2) add 3 columns:
   a INTEGER
   b VARCHAR
   c NUMERIC
3) click the Column Name 'b' cell (the cell is in edit mode)
4) click [Remove] button
ERROR: the 'b VARCHAR' row is removed and 'c NUMERIC' is renamed to 'b NUMERIC'
Comment 1 Andrei Badea 2005-10-10 09:02:34 UTC
Can only experience if the cell is in edit mode. Fix: cancel the edit operation
before removing.
Comment 2 Andrei Badea 2005-11-04 17:54:51 UTC
Fixed.

Checking in CreateTableDialog.java;
/cvs/db/src/org/netbeans/modules/db/explorer/dlg/CreateTableDialog.java,v  <-- 
CreateTableDialog.java
new revision: 1.38; previous revision: 1.37
done
Comment 3 Martin Schovanek 2005-11-21 10:41:44 UTC
VERIFIED