[
https://issues.apache.org/jira/browse/BROOKLYN-271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15291362#comment-15291362
]
ASF GitHub Bot commented on BROOKLYN-271:
-----------------------------------------
GitHub user kiuby88 opened a pull request:
https://github.com/apache/brooklyn-docs/pull/68
Fix BROOKLYN-271: ConfigKey card shows object hashCode of default values.
Fixing [BROOKLYN-271](https://issues.apache.org/jira/browse/BROOKLYN-271)
Avoiding object references in catalog ConfigKey cards, for example:
<img width="1036" alt="captura de pantalla 2016-05-19 a la s 17 46 04"
src="https://cloud.githubusercontent.com/assets/3704424/15399867/992624fa-1de9-11e6-9e21-b9efe659ab1e.png">
Last picture shows that default value of `softwareProcess.lifecycleTasks`
config key does not contain the object hashcode `@XXXXX`.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/kiuby88/brooklyn-docs BROOKLYN-271
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/brooklyn-docs/pull/68.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #68
----
commit fd9b22bc59633bf8d734246fe555dca1db55d3d6
Author: Kiuby88 <[email protected]>
Date: 2016-05-19T15:38:23Z
Avoiding object references in catalog ConfigKey cards.
----
> ConfigKey card shows object hashCode of default values
> ------------------------------------------------------
>
> Key: BROOKLYN-271
> URL: https://issues.apache.org/jira/browse/BROOKLYN-271
> Project: Brooklyn
> Issue Type: Documentation
> Reporter: Jose Carrasco
> Priority: Minor
>
> ConfigKey cards of Entities show the object references in Brooklyn Catalog
> when a default value is a object. Take a look to the following screenshot:
> !https://www.dropbox.com/s/rav70zzleyhnd4q/objectId.png?dl=1!
> As you can see the default value is composed by:
> {code}
> getClass().getName() + '@' + Integer.toHexString(hashCode())
> {code}
> Probably just class name should be shown here.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)