[
https://issues.apache.org/jira/browse/AMBARI-15958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15246801#comment-15246801
]
Keta Patel commented on AMBARI-15958:
-------------------------------------
Fix involves correcting the name of the variable "isDataLoaded".
> Can not save roles assigned to users and groups on Manage Ambari -> Roles ->
> Block view
> ---------------------------------------------------------------------------------------
>
> Key: AMBARI-15958
> URL: https://issues.apache.org/jira/browse/AMBARI-15958
> Project: Ambari
> Issue Type: Bug
> Components: ambari-admin
> Affects Versions: 2.4.0
> Reporter: Keta Patel
> Assignee: Keta Patel
> Attachments: img1.tiff, img2.tiff, img3.tiff, img4.tiff
>
>
> 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)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)