Description
few cases where even if JSON is invalid then also message appears IMPORTED SUCCSSFULLY.
case 1:
Json is correct but there is small mistake of case sensitivity instead true its True. so ideally this json is considered as invalid from jsonlint.
but Ranger import pass in this case, but it does not import any policy.
Case 2:
if json file is empty , then also it says import successful, ideally it should failed saying invalid json or something appropriate.
Attachments
Attachments
Issue Links
- links to