brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aled Sage (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BROOKLYN-271) ConfigKey card shows object hashCode of default values
Date Thu, 19 May 2016 15:57:12 GMT

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

Aled Sage commented on BROOKLYN-271:
------------------------------------

Thanks for spotting this! We're just using the normal toString on the default value object.
The right fix here is to implement {{toString()}} on {{org.apache.brooklyn.entity.software.base.SoftwareProcessDriverLifecycleEffectorTasks}}.

> 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)

Mime
View raw message