[
https://issues.apache.org/jira/browse/BROOKLYN-250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15250144#comment-15250144
]
ASF GitHub Bot commented on BROOKLYN-250:
-----------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/brooklyn-server/pull/111
> displayName in location brooklyn.config not being used
> ------------------------------------------------------
>
> Key: BROOKLYN-250
> URL: https://issues.apache.org/jira/browse/BROOKLYN-250
> Project: Brooklyn
> Issue Type: Bug
> Affects Versions: 0.9.0
> Reporter: John McCabe
> Priority: Minor
> Attachments: catalog.png, dropdown.png
>
>
> Observed that the {{displayName}} field populated by the location wizard/yaml
> doesn't appear to be used? For example:
> {code}
> brooklyn.catalog:
> items:
> - id: locationid
> itemType: location
> item:
> type: localhost
> brooklyn.config:
> displayName: locationname
> {code}
> displays as {{locationid}} rather than {{locationname}} (in dropdown lists
> and the catalog page), whereas the following
> {code}
> brooklyn.catalog:
> items:
> - id: locationid
> itemType: location
> name: locationname
> item:
> type: localhost
> {code}
> displays the string set in the {{name}} element.
> If {{name}} isn't present it falls back to using the {{id}}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)