[jbosstools-issues] [JBoss JIRA] (JBIDE-26173) Validation for 'oc executable location' in Preferences OpenShift 3 page does not allow to keep value empty

Andre Dietisheim (JIRA) issues at jboss.org
Mon Jul 9 10:52:00 EDT 2018


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

Andre Dietisheim commented on JBIDE-26173:
------------------------------------------

[~odockal] I see your point. I see a similar approach being taken ex. in Preferences > Java EE > XDoclet where one can get out of the page even if it is invalid (while there are other pages where you can't). 
But then, afaics you cannot have both: you cannot have an invalid page and have "Apply" disabled while you can switch pages. Both are linked, you can only get out of the page if "Apply" is enabled. "Apply" being enabled while the page is invalid is odd, too but seems the minor annoyance. 
So what I can do is to display an error while you can get out of the page and "Apply" is still enabled.

ps. I'm not sure if this really is critical. One can fix it by downloading and installing oc.

> Validation for 'oc executable location' in Preferences OpenShift 3 page does not allow to keep value empty
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-26173
>                 URL: https://issues.jboss.org/browse/JBIDE-26173
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 4.6.0.Final
>            Reporter: Ondrej Dockal
>            Assignee: Andre Dietisheim
>            Priority: Critical
>
> When user chooses Preferences -> Jboss Tools -> OpenShift 3 and does nothing (ie. when one just clicked to wrong page), the page cannot be changed, 'Could not accept changes' dialog pops up and user must cancel Preferences dialog. 
> I suggest to not validate empty oc location.



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


More information about the jbosstools-issues mailing list