[jbosstools-issues] [JBoss JIRA] (JBIDE-25547) Connection wizard: cannot save connection if "oc location" in preferences is invalid unless you override

Rob Stryker (JIRA) issues at jboss.org
Thu Mar 15 14:34:00 EDT 2018


     [ https://issues.jboss.org/browse/JBIDE-25547?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rob Stryker resolved JBIDE-25547.
---------------------------------
    Resolution: Done


commit edf4c841e9c07db329b26a5561f0eb13215ba6fa
Author: Rob Stryker <rob at oxbeef.net>
Date:   Wed Jan 17 16:23:43 2018 -0500


This commit solved this issue and added the workspace setting hyperlink. 

> Connection wizard: cannot save connection if "oc location" in preferences is invalid unless you override
> --------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-25547
>                 URL: https://issues.jboss.org/browse/JBIDE-25547
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 4.5.2.AM3
>            Reporter: Andre Dietisheim
>            Assignee: Rob Stryker
>             Fix For: 4.5.3.AM3
>
>         Attachments: connection-wizard.png
>
>
> # ASSERT: make sure that you have the location to the oc binary set in OpenShift 3 preferences JBoss Tools > OpenShift 3 > 'oc' executable location
> # EXEC: rename the oc (that your preferences point to) so that the preferences value gets invalid
> (this happens if you setup a new cdk since you have to kill your .minishift and the path to the oc contains a folder named after the version of it: ex. ~/.minishift/cache/oc/v3.6.173.0.21/oc)
> # EXEC: launch connection wizard
> # EXEC: provide server url and authentication means
> # ASSERT: "Finish" is still disabled, an error about oc location is shown in the title area
>  !connection-wizard.png! 
> Result:
> You cannot save your connection unless you override the oc location for this connection. In order to correct the preferences you have to cancel the wizard and go to the preferences. Once you correct the value in preferences, you are not prevented from saving the connection any more.
> Expected result:
> Either allow saving the connection even with an invalid oc location in preferences or allow to get to the preferences and correct it there.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jbosstools-issues mailing list