[jbosstools-issues] [JBoss JIRA] (JBIDE-21410) Improve source path validation in New OpenShift 3 server adapter wizard

Viacheslav Kabanovich (JIRA) issues at jboss.org
Wed Jan 6 20:31:00 EST 2016


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

Viacheslav Kabanovich edited comment on JBIDE-21410 at 1/6/16 8:30 PM:
-----------------------------------------------------------------------

There is also path syntax check, and its error message is the same for both "Source Path" and "Pod Deployment Path" as well.
Besides the wizard, there is server editor section with same widgets. The code for them in wizard and editor section looks almost duplicated. I would suggest a package local utility that would create these widgets for editor and wizard.


was (Author: scabanovich):
There is also path syntax check, and its error message is the same for both "Source Path" and "Pod Deployment Path".
Besides the wizard, there is server editor section with same widgets. The code for them in wizard and editor section looks almost duplicated. I would suggest a package local utility that would create these widgets for editor and wizard.

> Improve source path validation in New OpenShift 3 server adapter wizard
> -----------------------------------------------------------------------
>
>                 Key: JBIDE-21410
>                 URL: https://issues.jboss.org/browse/JBIDE-21410
>             Project: Tools (JBoss Tools)
>          Issue Type: Enhancement
>          Components: openshift
>    Affects Versions: 4.3.1.Beta2
>            Reporter: Marián Labuda
>
> First point: In New OpenShift 3 server adapter wizard there is a text label for Source path. Currently there is only not null validation, if there is no path, next button is disabled. Because the path filled in this text widget is local, it would be nice if there would be simple validation of existence of directory described in this text widget. 
> Second point: validation message shown in header for empty source path is same as for the pod path "Please provide a path to deploy to on the pod.", what is not correct. This message should be different.
> Third point: it would be nice to have an asterisks on required fields, such as pod or source path. 



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)



More information about the jbosstools-issues mailing list