[
https://issues.apache.org/jira/browse/RANGER-4081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17716574#comment-17716574
]
Mugdha Varadkar commented on RANGER-4081:
-----------------------------------------
This need server side change to give response - "No Data Found" and status code
- 404
> [Ranger UI] [React JS] If the url to edit a policy, service or permissions
> for a module, and the url to view user/group/roles contains an invalid id,
> then page should display an error
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: RANGER-4081
> URL: https://issues.apache.org/jira/browse/RANGER-4081
> Project: Ranger
> Issue Type: Bug
> Components: Ranger
> Reporter: Abhishek
> Priority: Major
> Labels: ranger-react
>
> If the url to edit a policy, a service or permissions for a certain module
> contains an invalid service id or a policy id,
> then the page is stuck in loading state.
> Ideally, if the service or a policy for a given id does not exist, then the
> page should
> display the appropriate error message.
> If the url to view the user/group/role details also has an invalid id, the
> page is stuck in loading state instead of displaying an error.
> For example, if the url to edit a security zone contains an invalid zone id,
> there is a popup that displays the message "Data not found for given id". A
> similar message should be displayed for other urls with invalid ids.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)