[ 
https://issues.apache.org/jira/browse/AMBARI-21052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16022054#comment-16022054
 ] 

Hudson commented on AMBARI-21052:
---------------------------------

FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #7525 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/7525/])
AMBARI-21052: Regex pattern for version number in Register Version UI 
(sangeetar: 
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=b5fdb57c5173cbf241782e9daa6dee4f4dc63c3c])
* (edit) 
ambari-admin/src/main/resources/ui/admin-web/app/views/stackVersions/stackVersionPage.html
* (edit) 
ambari-admin/src/main/resources/ui/admin-web/app/scripts/controllers/stackVersions/StackVersionsCreateCtrl.js
* (edit) 
ambari-admin/src/main/resources/ui/admin-web/app/scripts/services/Stack.js
* (edit) 
ambari-admin/src/main/resources/ui/admin-web/test/unit/controllers/stackVersions/StackVersionsCreateCtrl_test.js
* (edit) ambari-admin/src/main/resources/ui/admin-web/app/scripts/i18n.config.js


> Regex pattern for version number in Register Version UI should depend on 
> stack's version dir
> --------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-21052
>                 URL: https://issues.apache.org/jira/browse/AMBARI-21052
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-admin
>    Affects Versions: trunk
>            Reporter: Sangeeta Ravindran
>            Assignee: Sangeeta Ravindran
>             Fix For: trunk
>
>         Attachments: AMBARI-21052_1.patch, AMBARI-21052.patch
>
>
> My custom stack version dir has three digits. In the Register Version UI, the 
> regex pattern for Version Number forces me to enter two digits, although one 
> digit would make it a valid 4 digit stack version.
> The regex pattern should be based on the number of digits  supplied by the 
> stack's version dir and should not be harcoded.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to