[jboss-jira] [JBoss JIRA] (WFLY-6239) CLI: failure when adding a JNDI entry with default value containing a '$' at the end

Valentin Maechler (JIRA) issues at jboss.org
Thu Feb 18 01:11:00 EST 2016


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

Valentin Maechler commented on WFLY-6239:
-----------------------------------------

I guess by "escaping" you mean prefixing it with a "\", right?
result:
{code}
[standalone at localhost:9990 /] /subsystem=naming/binding=java\:global\/my\/sample\/entry:add(binding-type=simple, type=java.lang.String, value="${my.sample.property1:entry5-default-value-with-special-char-at-the-end-\$}"){    "outcome" => "failed",    "failure-description" => "WFLYCTL0370: Incomplete expression: ${my.sample.property1:entry5-default-value-with-special-char-at-the-end-$}",    "rolled-back" => true}[standalone at localhost:9990 /] /subsystem=naming/binding=java\:global\/my\/sample\/entry:add(binding-type=simple, type=java.lang.String, value="${my.sample.property1:entry5-default-value-with-special-char-at-the-end-$\}"){    "outcome" => "failed",    "failure-description" => "WFLYCTL0370: Incomplete expression: ${my.sample.property1:entry5-default-value-with-special-char-at-the-end-$}",    "rolled-back" => true}
{code}

May I ask you to try it on your side, please?
...and to provide the working example?

> CLI: failure when adding a JNDI entry with default value containing a '$' at the end
> ------------------------------------------------------------------------------------
>
>                 Key: WFLY-6239
>                 URL: https://issues.jboss.org/browse/WFLY-6239
>             Project: WildFly
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 10.0.0.Final
>            Reporter: Valentin Maechler
>            Assignee: Alexey Loubyansky
>
> Can not add a JNDI / naming entry which contains a "$" sign at the end of its default value.
> e.g. {code}
> value="${my.sample.property1:entry5-default-value-with-special-char-at-the-end-$}"
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)



More information about the jboss-jira mailing list