[ 
https://issues.apache.org/jira/browse/FELIX-3884?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13756382#comment-13756382
 ] 

Carsten Ziegeler commented on FELIX-3884:
-----------------------------------------

I've committed a simple implementation in 1519567 which checks the default 
values against the validator
                
> [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
>            Assignee: Carsten Ziegeler
>             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

Reply via email to