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 - Create Table - Remove row action renames neighbouring row
Summary: Create Table - Remove row action renames neighbouring row
Status: VERIFIED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Andrei Badea
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-22 15:53 UTC by Martin Schovanek
Modified: 2005-11-21 10:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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