Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-23055

GPL repo is not hidden when default version is chosen in UI

    XMLWordPrintableJSON

Details

    Description

      Ambari server has gpl license disabled i.e.

      cat /etc/ambari-server/conf/ambari.properties | grep -i gpl
      gpl.license.accepted=false
      
      • 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() function which calls isGPLRepo function where if we do not load version fromVDF URL the showRepo return true

       

      Attachments

        Activity

          People

            mpapirkovskyy Papirkovskyy Myroslav
            shavi71 Vivek Sharma
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h
                1h