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 147608 - "Question" dialog appears after changing basic properties on stopped server
Summary: "Question" dialog appears after changing basic properties on stopped server
Status: VERIFIED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: MySQL (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: David Vancouvering
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-18 14:40 UTC by Roman Mostyka
Modified: 2008-09-23 18:10 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-09-18 14:40:10 UTC
1. Add MySQL Server with admin parameters.
2. Start it, connect to it, then disconnect and stop it.
3. Open "Properties" dialog, change some basic property and click "OK".

Result: "Question" dialog appears. Why it appears? It says that IDE unable to connect to the server, of course, I
stopped it. :)
I guess that this dialog can appear, but only if properties are changed when server is running, but when it is stopped,
or even disconnected, there is no need to invoke this dialog.
Comment 1 David Vancouvering 2008-09-22 19:35:02 UTC
e503815d4937

Cleaned up the logic for how we handle stop, start, and reconnect to the MySQL
server.

The user is given a chance to adjust properties or keep waiting (on start and
stop).  Also, modifying properties causes a re-attempt *only* if we're in the
middle of start, stop or connect.  At other times modifying a property has no
side effects.
Comment 2 Roman Mostyka 2008-09-23 10:10:41 UTC
Verified with build 080923.
Comment 3 Quality Engineering 2008-09-23 18:10:42 UTC
Integrated into 'main-golden', will be available in build *200809231435* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/e503815d4937
User: David Van Couvering <davidvc@netbeans.org>
Log: #147431, #147550, #147608, #146987 - Clean up the logic for how we handle stop, start, and reconnect to the MySQL server.

The user is given a chance to adjust properties or keep waiting (on start and stop).  Also, modifying properties causes a re-attempt *only* if we're in the middle of start, stop or connect.  At other times modifying a property has no side effects.