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

Andre Dietisheim (JIRA) issues at jboss.org
Wed Jan 10 10:53:00 EST 2018


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

Andre Dietisheim reassigned JBIDE-25547:
----------------------------------------

    Assignee: Rob Stryker


> 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.x
>
>         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