You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Alex Rudyy (JIRA)" <ji...@apache.org> on 2016/07/12 17:05:20 UTC

[jira] [Commented] (QPID-7328) [Java Broker, WMC] The Help Menu link in the WMC is broken

    [ https://issues.apache.org/jira/browse/QPID-7328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15373253#comment-15373253 ] 

Alex Rudyy commented on QPID-7328:
----------------------------------

Evaluation of context variables is currently implemented in ConfiguredObjectToMapConverter#convertObjectToMap as REST layer has a number of parameters specifying how to serialize context and we do not have business methods on ConfiguredObject to evaluate context in accordance with requested parameters. Currently ConfiguredObjectToMapConverter collects default, system, inherited and uninherited context for the configured object and calls ConfiguredObject#getContextValue(String.class, String)) only for object own context and context variables of parent objects. It does not evaluate  default and system context (This is a bug). ConfiguredObjectToMapConverter  needs to be fixed to evaluate  default and system context. Additionally, functionality to evaluate context can be moved into ConfiguredObject method accepting REST flags as parameters (like excludeInheritedContext, useActualValues, etc).

> [Java Broker, WMC] The Help Menu link in the WMC is broken
> ----------------------------------------------------------
>
>                 Key: QPID-7328
>                 URL: https://issues.apache.org/jira/browse/QPID-7328
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: qpid-java-6.0.3, qpid-java-6.0.4, qpid-java-6.1
>            Reporter: Lorenz Quack
>             Fix For: qpid-java-6.1, qpid-java-6.0.5
>
>
> The link contains an uninterpolated "${qpid.version}"
> Changes committed as part of QPID-7211 introduced a bug in evaluation and reporting of context variables via REST: values for default context variables and context variables coming from JVM properties and environment variables are not interpolated in the REST responses. The issue does not affect Broker internal use of context variables.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org