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 144751 - IDE still try to retireve the schema after canceling connection
Summary: IDE still try to retireve the schema after canceling connection
Status: VERIFIED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Rob Englander
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-21 18:36 UTC by Roman Mostyka
Modified: 2008-08-25 11:17 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 2008-08-21 18:36:15 UTC
1. Try to connect to some DB, which contains several schemas (MySQL, PostgreSQL), but with wrong settings (I used wrong
port).
2. Click "Cancel" button.

Result: Message "Retrieving the list of the schemas..." is still in status bar, I guess that attempt to connect isn't
canceled.
On DBs without schemas (Oracle for example) everything is fine.
Comment 1 John Baker 2008-08-21 20:17:55 UTC
To see if Java DB was in fact stopped, you can check for any derby processes running and the context menu on the Java DB
node should change to Started 

Probably the message "Retrieving the list of the schemas..." is just bogus and it should be removed
Comment 2 Rob Englander 2008-08-22 22:19:40 UTC
c494c4bd1ae5
Comment 3 Quality Engineering 2008-08-23 05:19:36 UTC
Integrated into 'main-golden', available in build *200808230201* on http://bits.netbeans.org/dev/nightly/
Changeset: http://hg.netbeans.org/main/rev/c494c4bd1ae5
User: Rob Englander <mindstream@netbeans.org>
Log: #144751 Modified new connection dialog so that the retrieve schema task can be cancelled using the same mechanism as the cancelling of the connection task.
Comment 4 Roman Mostyka 2008-08-25 11:17:02 UTC
Verified with build 080823.