[
https://issues.jboss.org/browse/WFLY-6239?page=com.atlassian.jira.plugin....
]
Valentin Maechler edited comment on WFLY-6239 at 2/18/16 1:21 AM:
------------------------------------------------------------------
I guess by "escaping" you mean prefixing it with a "\", right?
result:
{code}
[standalone@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@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?
was (Author: vmae):
I guess by "escaping" you mean prefixing it with a "\", right?
result:
{code}
[standalone@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@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)