-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/71502/
-----------------------------------------------------------
(Updated Sept. 19, 2019, 9:30 a.m.)
Review request for ranger, Abhay Kulkarni, Madhan Neethiraj, Mehul Parikh,
Pradeep Agrawal, and Velmurugan Periasamy.
Changes
-------
There was an unnecessary check for 'fieldname'.
Summary (updated)
-----------------
RANGER : 2574 Ranger Import of policy fails if policy type is not passed.
Bugs: RANGER-2574
https://issues.apache.org/jira/browse/RANGER-2574
Repository: ranger
Description
-------
Ranger Import of fails(NPE) if policy type is'NULL' or it is not passed.
Diffs (updated)
-----
security-admin/src/main/java/org/apache/ranger/service/RangerPolicyService.java
78954af
Diff: https://reviews.apache.org/r/71502/diff/3/
Changes: https://reviews.apache.org/r/71502/diff/2-3/
Testing
-------
Import policy was failing(NPE) when policy type is 'NULL' or it is not passed,
Issue(NPE) rsolved with this changes. This issue was related to RANGER-2526.
Thanks,
Mateen Mansoori