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

Summary: Item "Stop" is disabled when server is running
Product: db Reporter: Roman Mostyka <romanmostyka>
Component: MySQLAssignee: David Vancouvering <davidvc>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

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.