[
https://issues.apache.org/jira/browse/RANGER-4132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17742699#comment-17742699
]
Dineshkumar Yadav commented on RANGER-4132:
-------------------------------------------
apache commit :
https://github.com/apache/ranger/commit/9a132c5d017c4f0a08837180625786a54539b758
> [Ranger UI] If view policy button is clicked for a policy which is deleted,
> then the page gets stuck in loading state
> ---------------------------------------------------------------------------------------------------------------------
>
> Key: RANGER-4132
> URL: https://issues.apache.org/jira/browse/RANGER-4132
> Project: Ranger
> Issue Type: Bug
> Components: Ranger
> Reporter: Abhishek
> Assignee: Brijesh Bhalala
> Priority: Major
> Labels: ranger-react
> Attachments: 0001-RANGER-4132.patch, 0002-RANGER-4132.patch
>
>
> In Ranger Admin UI, the policies list for a specific service are not updated
> automatically.
> So in case a page is open for a specific service and it contains a policy,
> for e.g with policy id 99, and the policy is deleted from another tab / from
> an API request,
> and if the user clicks on the view policy button, the server returns a 400
> bad request error, but the page gets stuck with the message "Please wait".
> In such scenarios, there should be a message which states that the policy has
> been deleted and it should refresh the list of policies for a specific service
--
This message was sent by Atlassian Jira
(v8.20.10#820010)