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] [Updated] (FELIX-3884) [Metatype] Default value and options
Date Fri, 15 Mar 2013 09:20:12 GMT

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

Felix Meschberger updated FELIX-3884:

    Fix Version/s: metatype-1.0.8

The spec text has been clarified:

* default values must match option values (of options are defined); non-matching default values
must be ignored
* the list of option values is exclusive: Validation must not accept values other than the
ones listed in the options
> [Metatype] Default value and options
> ------------------------------------
>                 Key: FELIX-3884
>                 URL: https://issues.apache.org/jira/browse/FELIX-3884
>             Project: Felix
>          Issue Type: Task
>          Components: Metatype Service
>    Affects Versions:  metatype-1.0.6
>            Reporter: Felix Meschberger
>             Fix For: metatype-1.0.8
> There will be a clarification in the Metatype specification for attribute descriptors
(AD): If an AD has a list of option values, the default value should in fact be one of these
listed values. Implementations will be required to validate this and discard the default value
if not on the list.
> Currently our implementation just takes the default value(s). We should change and validate
the values and discard those not being part of the option list.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message