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 224587

Summary: Automatic connection when expanding instance node
Product: connecteddeveloper Reporter: Jesse Glick <jglick>
Component: HudsonAssignee: Jaroslav Havlin <jhavlin>
Severity: normal Keywords: NETFIX, PATCH_AVAILABLE, UI
Priority: P3    
Version: 7.2   
Hardware: PC   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: Proposed patch

Description Jesse Glick 2013-01-07 19:18:48 UTC
If you have a server not set to auto synch (i.e. refresh time 0), or which is not readable by anonymous, the instance node will show [Disconnected] or [Forbidden]. To connect, you need to go to the context menu and select Connect (or Log In). That is fine but it would be more convenient to merely expand the node, since your expectation is that expanding the children of a node showing the contents of the server should go ahead and try to connect to it.

Probably risky for 7.3 so marking for the next release.
Comment 1 Jesse Glick 2013-01-07 19:21:16 UTC
Created attachment 129974 [details]
Proposed patch
Comment 2 Jesse Glick 2013-02-27 14:59:26 UTC
Could be reviewed now I guess?
Comment 3 Jaroslav Havlin 2013-02-27 16:30:02 UTC
(In reply to comment #2)
> Could be reviewed now I guess?
Sure, I'm sorry for not doing it earlier.

The patch seems OK.
Integrated as
Thank you very much, Jesse!
Comment 4 Quality Engineering 2013-03-01 02:00:58 UTC
Integrated into 'main-golden', will be available in build *201302282300* on (upload may still be in progress)
User: Jesse Glick <>
Log: #224587: connect as needed when instance node expanded.
Also removing gratuitous old calls to Node.setChildren;
the Children field should normally be considered final.