[jbosstools-issues] [JBoss JIRA] (JBIDE-25703) OS connection wizard reports missing oc even though it is set for that workspace

Rob Stryker (JIRA) issues at jboss.org
Tue Feb 27 14:27:00 EST 2018


    [ https://issues.jboss.org/browse/JBIDE-25703?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13539132#comment-13539132 ] 

Rob Stryker commented on JBIDE-25703:
-------------------------------------

When executing the following steps, I cannot replicate:

1. Exec: Have downloaded cdk 3.3
2. Exec: Create CDK 3.2+ server adapter
3. Exec: Start server adapter
4. Assert: Adapter is started, Os connection is created
5. Exec: Open OS 3 connection
6. Assert: check that path to oc is propagated into 'Override 'oc' location' label
Actual result:  The openshift connection has "override workspace setting" checked, and a value is already there, and is correct.  Note that we did not set the workspace setting in this usecase. 

When executing different steps, I still cannot replicate:
1. Exec: Have downloaded cdk 3.3
2. Exec: Create CDK 3.2+ server adapter
3. Exec: Start server adapter
4. Assert: Adapter is started, Os connection is created
5. Exec: Setup OC for workspace in Preferences (ie. ~/.minishift/cache/oc/v3.7.14/windows/oc.exe)
6. Exec: Open OS 3 connection
7. Assert: "override oc location" is checked
8. Assert that if you uncheck "override oc location", the page has no errors

And a third usecase:

1. Exec: Have downloaded cdk 3.3
2. Exec: Create CDK 3.2+ server adapter
3. Exec: Start server adapter
4. Assert: Adapter is started, Os connection is created
5. Exec: Open OS 3 connection
6. Assert: "override oc location" is checked
7. Uncheck 'override oc location'
8. Assert the field does not validate, because workspace setting is missing
9. Click the Workspace Settings hyperlink
10. Set the workspace setting. Click apply. Close the preference window, focus on the openshift 3 connection wizard
11. Assert the validation is now successful. 

If the complaint here is that the validation doesn't go away until you close the preference page, that's a bit of a stretch in terms of a bug. Validation will only be kicked off once the preference page is closed, not once the setting is changed. 

Is this the bug? 

> OS connection wizard reports missing oc even though it is set for that workspace
> --------------------------------------------------------------------------------
>
>                 Key: JBIDE-25703
>                 URL: https://issues.jboss.org/browse/JBIDE-25703
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 4.5.3.AM1
>         Environment: Win10
>            Reporter: Ondrej Dockal
>            Assignee: Rob Stryker
>             Fix For: 4.5.x
>
>         Attachments: OCvalidationInWorkspace.PNG
>
>
> I managed to reproduce this on my windows 10 machine with hyperv, although, on another machine this was not reproducible. Please, try to reproduce first.



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


More information about the jbosstools-issues mailing list