[jbosstools-issues] [JBoss JIRA] (JBIDE-21761) Port mapping validation is not correct

Andre Dietisheim (JIRA) issues at jboss.org
Fri Mar 4 06:17:00 EST 2016


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

Andre Dietisheim commented on JBIDE-21761:
------------------------------------------

The validation rule seems correct, given that ports can be numeric values but also alphanumeric names/identifiers ("named ports").
But I still see potential for enhancemts:
* a more intuitive error message
* using a "*" decoration instead of the error marker for an empty field


> Port mapping validation is not correct
> --------------------------------------
>
>                 Key: JBIDE-21761
>                 URL: https://issues.jboss.org/browse/JBIDE-21761
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 4.3.1.CR1
>            Reporter: Marián Labuda
>            Assignee: Xavier Coulon
>              Labels: docker, openshift_v3
>             Fix For: 4.3.1.CR1
>
>         Attachments: validation_msg.png
>
>
> In Deploy docker image on the page with port mapping when adding a new port mapping there is a validation error telling that correct format of pod is alphanumeric, what is wrong. See following image.
> !validation_msg.png!
>  There should be allowed only numbers in range 0-65535. It is not only validation message but it allows to create also mapping to port e.g. "abc123" what should not be possible.



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



More information about the jbosstools-issues mailing list