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 191709 - Automatically select a newly created Remote Connection after creating it
Summary: Automatically select a newly created Remote Connection after creating it
Status: VERIFIED INCOMPLETE
Alias: None
Product: php
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-07 16:50 UTC by melight
Modified: 2012-05-15 08:12 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description melight 2010-11-07 16:50:20 UTC
When in 
New Project > PHP Application from Remote Server > 3. Remote Configuration > Manage
If you create a new connection and OK it, it is not auto-selected. Which is counter-intuitive. This might alter a project which connection was selected prior to the new connection creation.

Product Version = NetBeans IDE 6.9.1 (Build 201007282301)
Operating System = Windows XP version 5.1 running on x86
Java; VM; Vendor = 1.6.0_22
Runtime = Java HotSpot(TM) Client VM 17.1-b03
Comment 1 Tomas Mysik 2011-06-03 10:20:56 UTC
Batch reassigning.
Comment 2 Tomas Mysik 2011-06-03 10:50:36 UTC
IMHO this is done only if there's no connection already selected for the project current configuration. We _have to_ avoid _silent_ changes in project properties. Consider this:
- have a project with remote config for staging server
- create new connection to production server
- save project properties

In this case, all the changes would be uploaded to the production server which can be terribly incorrect. NetBeans cannot know whether to preselect other connection than the selected one (which one to select if user adds e.g. 5 remote connections at once?)

From the reasons above, closing as WORKSFORME, sorry.
Comment 3 kwilliams 2012-05-15 08:12:47 UTC
This is very annoying when combined with "Create project from remote server".

Lost count how many times I've forgotten to double check this and ended up downloading totally the wrong project.

If not for altering applications can this at least be the default behavior for new projects?