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

Can not save roles assigned to users and groups on Manage Ambari -> Roles -> Block view

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.4.0
    • 2.4.0
    • ambari-admin
    • None

    Description

      ISSUE:
      Steps to reproduce:
      1. Go to Manage Ambari -> Roles (Block View)
      2. assign some role to some users or groups by typing their name in the respective Roles' box. (img1.tiff, img2.tiff)
      3. Click on the Save button (Tick mark button) (img2.tiff)
      4. We can see the names of the users/groups in the Roles' box. (img3.tiff)
      5. Refresh the page, the names are no longer present in those boxes. (img4.tiff)

      The Save button must save the roles for the users/groups present in the Roles' box.

      CAUSE:
      The controller handling the Block view is not able to call the "$scope.save()" function whenever any Roles' box is edited. This is because of an error in the name of the variable "isDataLoaded" used in condition of the if-clause.
      (The associated JIRA is AMBARI-15802)

      Attachments

        1. AMBARI-15958.patch
          1 kB
          Keta Patel
        2. img1.tiff
          107 kB
          Keta Patel
        3. img2.tiff
          114 kB
          Keta Patel
        4. img3.tiff
          110 kB
          Keta Patel
        5. img4.tiff
          108 kB
          Keta Patel

        Issue Links

          Activity

            People

              patelket@us.ibm.com Keta Patel
              patelket@us.ibm.com Keta Patel
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: