felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Meschberger (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (FELIX-521) MetaType - optionValues check
Date Wed, 26 Mar 2008 08:45:25 GMT

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

Felix Meschberger reassigned FELIX-521:
---------------------------------------

    Assignee: Felix Meschberger

> MetaType - optionValues check
> -----------------------------
>
>                 Key: FELIX-521
>                 URL: https://issues.apache.org/jira/browse/FELIX-521
>             Project: Felix
>          Issue Type: Bug
>          Components: Metatype Service
>            Reporter: Martin Thelian
>            Assignee: Felix Meschberger
>
> There is a problem in the validation of a value against option-values in "AD.validate(...)":
> |> String[] optionValues = getOptionValues();
> |> if ( optionValues != null )
> |> {
> |> [...]
> |>     // not any of the option values, fail
> |>     return VALIDATE_NOT_A_VALID_OPTION;
> |> }
> Per default the optionValues array is empty but not null. Therefore even if no options
are configured the check returns VALIDATE_NOT_A_VALID_OPTION.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message