[ 
https://issues.apache.org/jira/browse/BROOKLYN-118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aled Sage updated BROOKLYN-118:
-------------------------------
    Attachment: Screen Shot 2015-01-13 at 16.40.03.png

> Validation error in "add application" web-console dialog when enum config key 
> set
> ---------------------------------------------------------------------------------
>
>                 Key: BROOKLYN-118
>                 URL: https://issues.apache.org/jira/browse/BROOKLYN-118
>             Project: Brooklyn
>          Issue Type: Bug
>    Affects Versions: 0.7.0-SNAPSHOT
>            Reporter: Aled Sage
>         Attachments: Screen Shot 2015-01-13 at 16.40.03.png
>
>
> There seems to be a bug in the validation of the "add application" dialog in 
> the web-console. See screenshot attached.
> When I chose the config key value of "Europe" for "Compliance: jurisdiction", 
> it showed the error at the top of the dialog (i.e. ERROR Invalid location 
> EUROPE"). After selecting a value for this config key, I was not able to 
> finish. When I clicked finish, it would say at the top "ERROR A location is 
> required". If I did not select anything for this config key (or any of the 
> other config keys of type enum) then it would work ok.
> The config key is defined as:
> {noformat}
>     @CatalogConfig(label = "Compliance: jurisdiction", priority = 40)
>     ConfigKey<LocationConstraints.Jurisdiction> COMPLIANCE_JURISDICTION = 
> ConfigKeys.newConfigKey(
>             LocationConstraints.Jurisdiction.class,
>             "compliance.jurisdiction",
>             "Which jurisdictions are acceptable",
>             null);
> {noformat}



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

Reply via email to