[jboss-jira] [JBoss JIRA] (WFCORE-2936) CLI parse "" as undefined

Jan Kalina (JIRA) issues at jboss.org
Thu Jun 8 08:43:00 EDT 2017


Jan Kalina created WFCORE-2936:
----------------------------------

             Summary: CLI parse "" as undefined
                 Key: WFCORE-2936
                 URL: https://issues.jboss.org/browse/WFCORE-2936
             Project: WildFly Core
          Issue Type: Bug
          Components: CLI
    Affects Versions: 3.0.0.Beta25
            Reporter: Jan Kalina


CLI parse following command:
{code}
/subsystem=elytron/constant-permission-mapper=test2:add(permissions=[{class-name="abc",action="",target-name=""}])
{code}
as:
{code}
{
    "address" => [
        ("subsystem" => "elytron"),
        ("constant-permission-mapper" => "test2")
    ],
    "operation" => "add",
    "permissions" => [{
        "class-name" => "abc",
        "action" => undefined,
        "target-name" => undefined
    }]
}
{code}
*Blank strings are interpreted as undefined value by CLI parser.*




--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list