cloudfoundry-attic / eclipse-integration-cloudfoundry

Cloud Foundry Integration for Eclipse
Apache License 2.0
41 stars 47 forks source link

CF plugin leaves host name text field disabled in new server wizard #33

Closed BoykoAlex closed 9 years ago

BoykoAlex commented 9 years ago

See the following STS JIRA for details: https://issuetracker.springsource.com/browse/STS-4024

The fix that worked for me:

if (curOldValue != curNewValue) {
   if (/NEW/ curNewValue == null /NEW/ || !!! curNewValue instanceof IServerType) {
       if (isSupportedServerType((IServerType)curNewValue)) {
                        // Disable the host name field
                        if (controlListener != null) {

Chunk of code between /NEW/ has been added to account for null values that can be selected (folders)

cf-gitbot commented 9 years ago

We have created an issue in Pivotal Tracker to manage this. You can view the current status of your issue at: https://www.pivotaltracker.com/story/show/87441240.

nierajsingh commented 9 years ago

Fix pushed to master