You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Keith Wall (JIRA)" <ji...@apache.org> on 2017/10/02 10:38:00 UTC
[jira] [Resolved] (QPID-7940) [Java Broker] JSON context
substitution does not work with nested variables
[ https://issues.apache.org/jira/browse/QPID-7940?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Keith Wall resolved QPID-7940.
------------------------------
Resolution: Fixed
> [Java Broker] JSON context substitution does not work with nested variables
> ---------------------------------------------------------------------------
>
> Key: QPID-7940
> URL: https://issues.apache.org/jira/browse/QPID-7940
> Project: Qpid
> Issue Type: Bug
> Components: Java Broker
> Reporter: Rob Godfrey
> Assignee: Rob Godfrey
> Fix For: qpid-java-broker-7.0.0
>
>
> A context value of the form $\{json:FOO\} is intended to escape the value of FOO to be usable within a JSON string, however if the value of $\{FOO\} interpolates first into $\{BAR\} then the json substitution is not applied to the interpolated value of $\{BAR\}.
> Since $\{qpid.work_dir\} is now defined as defaulted to $\{QPID_WORK\} and the default for a JsonVirtualHostNode.getPreferenceStoreAttributes() contains "$\{json:qpid.work_dir\}", and a (Windows) directory is likely to contain characters needing escaping... The broker currently doesn't work on Windows with a JsonVirtualHostNode
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org