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 146987 - Item "Stop" is disabled when server is running
Summary: Item "Stop" is disabled when server is running
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-11 18:00 UTC by Roman Mostyka
Modified: 2008-09-23 18:16 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-11 18:00:42 UTC
1. Add MySQL server to the IDE.
2. Start it. IDE will be automatically connected to the server.
3. Disconnect and rightclick MySQL server's node.

Result: Item "Start" is enabled, but item "Stop" is disabled, but server is running.
Comment 1 David Vancouvering 2008-09-22 19:34:34 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:03:46 UTC
Verified with build 080923.
Great job, David. :)
Comment 3 Quality Engineering 2008-09-23 18:16:09 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.