Aled Sage created BROOKLYN-251:
----------------------------------

             Summary: "Reload properties" clears catalog locations from "add 
application" location dropdown list
                 Key: BROOKLYN-251
                 URL: https://issues.apache.org/jira/browse/BROOKLYN-251
             Project: Brooklyn
          Issue Type: Bug
            Reporter: Aled Sage


In 0.9.0 rc3...

Clicking the "reload properties" button will remove from the locations list the 
entries that come from the catalog.

To reproduce:
1. Launch Brooklyn with {{brooklyn launch --persist auto --persistenceDir 
whatever --noGlobalBrooklynProperties}} (to keep it as simple as possible - no 
locations from brooklyn.properties).
2. Add a location to the catalog (such as that below)

{noformat}
brooklyn.catalog:
  version: 0.1.2
  items:
  - id: myloc
    name: My Location
    itemType: location
    item:
      type: localhost
{noformat}

3. Click on “reload properties” (in the home page of the web-console)

4. Go to the “add application” wizard, choose an app, and then look at the 
drop-down list of locations.

The location (e.g. "My Location") will not be included.

When you next add a location to the catalog, then all locations from the 
catalog become visible in the drop-down again.



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

Reply via email to