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 15413

Summary: Action Add column to a index re-create the index as unique
Product: db Reporter: issues@www <issues>
Component: CodeAssignee: Radko Najman <rnajman>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P4    
Version: 3.x   
Hardware: Sun   
OS: Other   
Issue Type: DEFECT Exception Reporter:

Description issues@www 2001-09-12 15:34:01 UTC
Description: 
Tested in build 010803_CE.

- enable debug mode from popup menu on "Databases" node
- connect to a database in DBExplorer
- add non-unique index (right click on "Indexes" node and select "Add Index"; 
choose one column and click OK)
- add column to this index (right click on index's node and select "Add 
Column"; choose a column and click OK)
- in output window you can see that unique index was created instead


Evaluation: 
A property UNIQUE is evaluated badly in AddToIndexAction class.

A comment.
Comment 1 Jiri Rechtacek 2001-12-03 17:31:36 UTC
Reassigning to Radko.

Comment 2 Radko Najman 2004-02-04 16:40:12 UTC
Unique flag wasn't recognized correctly.
Fixed.
Comment 3 Jiri Skrivanek 2004-02-05 09:23:26 UTC
Verified in build 200402042045.