You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2012/10/24 21:42:12 UTC

[jira] [Resolved] (FELIX-3730) AD.validate of string attributes must validate the string length

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

Felix Meschberger resolved FELIX-3730.
--------------------------------------

    Resolution: Fixed
      Assignee: Felix Meschberger

Fixed in Rev. 1401839
                
> 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
>            Assignee: 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