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 0A4E89129 for ; Wed, 24 Oct 2012 19:42:14 +0000 (UTC) Received: (qmail 37646 invoked by uid 500); 24 Oct 2012 19:42:12 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 37571 invoked by uid 500); 24 Oct 2012 19:42:12 -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 37295 invoked by uid 99); 24 Oct 2012 19:42:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Oct 2012 19:42:12 +0000 Date: Wed, 24 Oct 2012 19:42:12 +0000 (UTC) From: "Felix Meschberger (JIRA)" To: dev@felix.apache.org Message-ID: <1697292842.23793.1351107732063.JavaMail.jiratomcat@arcas> Subject: [jira] [Created] (FELIX-3730) AD.validate of string attributes must validate the string length MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Felix Meschberger created FELIX-3730: ---------------------------------------- Summary: AD.validate of string attributes must validate the string length Key: FELIX-3730 URL: https://issues.apache.org/jira/browse/FELIX-3730 Project: Felix Issue Type: Bug Components: Metatype Service, Specification compliance Affects Versions: metatype-1.0.4 Reporter: Felix Meschberger Fix For: metatype-1.0.6 The AD.validate method validates an attribute value against the requirement, min, and max values. For String typed attributes this means the length of the string must be within the configured range. Currently the string is compared against the min and max values using String.compare which makes little to no sense. -- 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