[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:45:47 EDT 2012
[ https://issues.jboss.org/browse/AS7-4431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Simeon Pinder updated AS7-4431:
-------------------------------
Description:
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}
was:
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}
> 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