ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colm O hEigeartaigh (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (RANGER-1803) Json may be analysis a null value at tests[] for test_resourcematcher_default.json
Date Tue, 26 Sep 2017 11:02:00 GMT

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

Colm O hEigeartaigh resolved RANGER-1803.
-----------------------------------------
    Resolution: Fixed

> Json may be analysis a null value at tests[] for test_resourcematcher_default.json
> ----------------------------------------------------------------------------------
>
>                 Key: RANGER-1803
>                 URL: https://issues.apache.org/jira/browse/RANGER-1803
>             Project: Ranger
>          Issue Type: Bug
>          Components: Ranger
>            Reporter: WangYuan
>            Assignee: WangYuan
>            Priority: Minor
>             Fix For: 1.0.0
>
>         Attachments: 0001-RANGER-1803-Json-may-be-analysis-a-null-value-at-tes.patch
>
>
> For test_resourcematcher_default.json, there is one more comma at last line.
> I think the comma in end line should be deleled,otherwise may be analysis a null value.
> For example:
> {code}
> "tests":[
>       	{ "name":"all-lower","input":"simple", "result":true},
>         ... ...
>         ... ...
>       	{ "name":"invalid-mixed-case-wild","input":"OtHeR-SiMpLe", "result":false},
>        ###{ "name":"invalid-mixed-case-wild","input":"OtHeR-SiMpLe", "result":false}
>       ]
> {code}
> {code}
> "tests":[
>       	{ "name":"all-lower","input":"simple", "result":true},
>         ... ...
>         ... ...
>       	{ "name":"invalid-mixed-case","input":"oThEr-StRiNg", "result":false},
>         ###{ "name":"invalid-mixed-case","input":"oThEr-StRiNg", "result":false}
>       ]
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message