Return-Path: X-Original-To: apmail-felix-dev-archive@www.apache.org Delivered-To: apmail-felix-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DB6051057C for ; Tue, 3 Sep 2013 06:10:53 +0000 (UTC) Received: (qmail 35094 invoked by uid 500); 3 Sep 2013 06:10:53 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 35038 invoked by uid 500); 3 Sep 2013 06:10:52 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 35021 invoked by uid 99); 3 Sep 2013 06:10:52 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Sep 2013 06:10:52 +0000 Date: Tue, 3 Sep 2013 06:10:52 +0000 (UTC) From: "Carsten Ziegeler (JIRA)" To: dev@felix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FELIX-3884) [Metatype] Default value and options MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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