You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Deepak Sharma (JIRA)" <ji...@apache.org> on 2017/02/06 07:00:48 UTC

[jira] [Created] (RANGER-1352) few cases where even if JSON is invalid then also message appears IMPORTED SUCCSSFULLY

Deepak Sharma created RANGER-1352:
-------------------------------------

             Summary: few cases where even if JSON is invalid then also message appears IMPORTED SUCCSSFULLY
                 Key: RANGER-1352
                 URL: https://issues.apache.org/jira/browse/RANGER-1352
             Project: Ranger
          Issue Type: Bug
          Components: Ranger
    Affects Versions: 0.7.0
            Reporter: Deepak Sharma
             Fix For: 0.7.0


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.





--
This message was sent by Atlassian JIRA
(v6.3.15#6346)