[ 
https://issues.apache.org/jira/browse/RANGER-4854?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mugdha Varadkar updated RANGER-4854:
------------------------------------
    Affects Version/s: 2.5.0

> Policy Import from UI is failing.
> ---------------------------------
>
>                 Key: RANGER-4854
>                 URL: https://issues.apache.org/jira/browse/RANGER-4854
>             Project: Ranger
>          Issue Type: Bug
>          Components: Ranger
>    Affects Versions: 2.5.0
>            Reporter: Vishal Bhavsar
>            Assignee: Dineshkumar Yadav
>            Priority: Major
>         Attachments: Screenshot from 2024-07-12 15-32-07.png, Screenshot from 
> 2024-07-12 18-46-32.png
>
>
> UI Policy import is failing even when we are checking the Override Policy 
> option. We are seeing below error message in UI. 
> error msg 
> {code:java}
> Unrecognized field \"listSize\" (Class 
> org.apache.ranger.view.RangerExportPolicyList), not marked as ignorable\n at 
> [Source: java.io.StringReader@5d0fd801; line: 1, column: 48449] (through 
> reference chain: 
> org.apache.ranger.view.RangerExportPolicyList[\"listSize\"]){code}
> Steps to reproduce:
>  # From UI export policy json from top right export button.
>  # Now import the same policy json and make sure to  check the "Override 
> Policy" checkbox. we would get the alert notification in UI with the error 
> message.
> snapshot attached for reference



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to