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 98542 - It is possible to add Driver with existent name
Summary: It is possible to add Driver with existent name
Status: RESOLVED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P4 blocker (vote)
Assignee: Jiri Skrivanek
URL:
Keywords:
Depends on:
Blocks: 152436
  Show dependency tree
 
Reported: 2007-03-21 18:54 UTC by Roman Mostyka
Modified: 2009-06-18 06:59 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 Roman Mostyka 2007-03-21 18:54:45 UTC
1. Rightclick "Databases->Drivers" and select "New Driver...".
2. In "New JDBC Driver" dialog click "Add...", select DB driver and click "Open".
3. Enter "DBDriver" in "Name" field and click "OK".
4. Rightclick "Databases->Drivers" and select "New Driver...".
5. In "New JDBC Driver" dialog click "Add...", select DB driver and click "Open".
6. Enter the same name "DBDriver" in "Name" field and click "OK".

Result: Doubled DB driver is added to Drivers tree.
Comment 1 David Vancouvering 2008-01-25 23:40:37 UTC
This isn't a common problem and is easy to detect and fix.  Lowering to a P4.
Comment 2 Jiri Skrivanek 2009-06-17 08:07:49 UTC
Fixed.
core-main #cef3d91b8ef5
Comment 3 Quality Engineering 2009-06-17 18:50:55 UTC
Integrated into 'main-golden', will be available in build *200906171401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/cef3d91b8ef5
User: Jiri Skrivanek <jskrivanek@netbeans.org>
Log: #98542 - Check for existing driver name.
Comment 4 Quality Engineering 2009-06-18 06:59:51 UTC
Integrated into 'main-golden', will be available in build *200906180201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/fcc3123525a8
User: Jiri Skrivanek <jskrivanek@netbeans.org>
Log: #98542 - Check only for new driver.