[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16187851#comment-16187851 ] Keith Wall commented on QPID-7940: -- Change looks reasonable to me. > [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-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16187204#comment-16187204 ] ASF subversion and git services commented on QPID-7940: --- Commit 03c357718525711c2e3cb5ce6f68841beefe63b9 in qpid-broker-j's branch refs/heads/master from [~godfrer] [ https://git-wip-us.apache.org/repos/asf?p=qpid-broker-j.git;h=03c3577 ] QPID-7940 : [Java Broker] JSON context substitution does not work with nested variables > [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 > > 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-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org