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

Jeff Cantrill (JIRA) issues at jboss.org
Fri Mar 4 09:08:00 EST 2016


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

Jeff Cantrill commented on JBIDE-21761:
---------------------------------------

We control this particular case so whether we limit you to numeric values is up to us, but the fact is you can have numeric or named ports.  It's more of an issue where we are reading information sourced elsewhere.   I would defer to allowing either which means the current PR will need to be reverted in some capacity.

> 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