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.
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.
Created attachment 129974 [details] Proposed patch
Could be reviewed now I guess?
(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 http://hg.netbeans.org/core-main/rev/0cfcee5c86d1 Thank you very much, Jesse!
Integrated into 'main-golden', will be available in build *201302282300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/0cfcee5c86d1 User: Jesse Glick <jglick@netbeans.org> 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.