[ 
https://issues.apache.org/jira/browse/AMBARI-23055?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated AMBARI-23055:
------------------------------------
    Labels: pull-request-available system_test  (was: system_test)

> GPL repo is not hidden when default version is chosen in UI
> -----------------------------------------------------------
>
>                 Key: AMBARI-23055
>                 URL: https://issues.apache.org/jira/browse/AMBARI-23055
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.6.2
>            Reporter: Vivek Sharma
>            Assignee: Myroslav Papirkovskyi
>            Priority: Critical
>              Labels: pull-request-available, system_test
>             Fix For: 2.6.2
>
>
> Ambari server has gpl license disabled i.e.
> {code}
> cat /etc/ambari-server/conf/ambari.properties | grep -i gpl
> gpl.license.accepted=false
> {code}
> - On register version page, upon choosing HDP-2.6.4.0 from the drop-down, the 
> GPL repo field is not masked (see default-version.png)
> - However upon choosing to upload the version from VDF URL, the GPL field is 
> correctly masked (see version-via-vdf.png)
> Looks like the problem is 
> [showRepo()|https://github.com/apache/ambari/blob/branch-2.6/ambari-admin/src/main/resources/ui/admin-web/app/scripts/controllers/stackVersions/StackVersionsCreateCtrl.js#L50]
>  function which calls 
> [isGPLRepo|https://github.com/apache/ambari/blob/branch-2.6/ambari-admin/src/main/resources/ui/admin-web/app/scripts/controllers/stackVersions/StackVersionsCreateCtrl.js#L46]
>  function where if we do not load version fromVDF URL the showRepo return true
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to