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

Alexey Loubyansky (JIRA) jira-events at lists.jboss.org
Tue Apr 10 06:18:47 EDT 2012


    [ https://issues.jboss.org/browse/AS7-4431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12682622#comment-12682622 ] 

Alexey Loubyansky commented on AS7-4431:
----------------------------------------

I am not sure I understand the issue. You are trying to use json path format in the cli to communicate with the resource? If so, this is not a bug. It's just not supported.
                
> 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
>              Labels: rhq
>
> 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\\/mail\\/Default")
> ]' 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