[jboss-jira] [JBoss JIRA] Commented: (JBAS-9080) special characters in node names

Alexey Loubyansky (JIRA) jira-events at lists.jboss.org
Mon Mar 21 11:59:45 EDT 2011


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

Alexey Loubyansky commented on JBAS-9080:
-----------------------------------------

This commit https://github.com/aloubyansky/jboss-as/commit/74c29469a9486d6aecc3fa45edabb555ad169be3

- removes .toLowerCase() for the operation parts;
- requires quotes for a node name if the name contains ':' or '/';
- if the name also contains '"' those quotes should be escaped, i.e. '\"'.;
- fixes tab-completion for the node names according to the rules above.

> special characters in node names
> --------------------------------
>
>                 Key: JBAS-9080
>                 URL: https://issues.jboss.org/browse/JBAS-9080
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 7.0.0.Beta1
>            Reporter: Alexey Loubyansky
>            Assignee: Alexey Loubyansky
>             Fix For: 7.0.0.Beta2
>
>
> Currently there is a problem with ':' and '/' in node names
> [localhost:9999 /] cd /subsystem=datasources
> [localhost:9999 /subsystem=datasources] :read-resource
> {
>     "outcome" => "success",
>     "result" => {
>         "data-source" => {"java:/H2DS" => undefined},
>         "xa-data-source" => undefined,
>         "jdbc-driver" => {"com.h2database.h2" => undefined}
>     },
>     "compensating-operation" => undefined
> }
> [localhost:9999 /subsystem=datasources] cd ./data-source=java:/H2DS
> '/h2ds' is not a valid operation name.
> [localhost:9999 /subsystem=datasources/data-source=java]

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list