[jboss-jira] [JBoss JIRA] (AS7-4431) json nodes with escape characters not being processed correctly by cli

Simeon Pinder (JIRA) jira-events at lists.jboss.org
Mon Apr 9 08:25:47 EDT 2012


Simeon Pinder created AS7-4431:
----------------------------------

             Summary: json nodes with escape characters not being processed correctly by cli
                 Key: AS7-4431
                 URL: https://issues.jboss.org/browse/AS7-4431
             Project: Application Server 7
          Issue Type: Bug
          Components: CLI
    Affects Versions: 7.1.1.Final
         Environment: standalone but should occur with domain as well.
            Reporter: Simeon Pinder
            Assignee: Alexey Loubyansky
            Priority: Critical


The address for 'subsystem=mail/mail-session=java:jboss/mail/Default' must be escaped because of the ':' and '/' characters in the 'mail-session' node.

Log in via the DMR cli shell and you're able to browse the same node via '/subsystem=mail/mail-session=java\:jboss\/mail\/Default/:read-resource' If you attempt to read the same node via escaped json you get:

failureDescription=JBAS014807: Management resource '[
    ("subsystem" => "mail"),
    ("mail-session" => "java:jboss")
]' not found, rolledBack=true}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list