felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J.W. Janssen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FELIX-3757) MetaType AD.validate() ignored mandatory fields without min, max or optionValues
Date Fri, 16 Nov 2012 10:20:12 GMT

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

J.W. Janssen commented on FELIX-3757:
-------------------------------------

I've applied the correct code formatting rules (sorry about that) and applied your proposed
fix for the min/max validation. 

The changes are in rev #1410279.

Thanks for reviewing my changes!

                
> MetaType AD.validate() ignored mandatory fields without min, max or optionValues
> --------------------------------------------------------------------------------
>
>                 Key: FELIX-3757
>                 URL: https://issues.apache.org/jira/browse/FELIX-3757
>             Project: Felix
>          Issue Type: Bug
>          Components: Metatype Service
>    Affects Versions:  metatype-1.0.6
>            Reporter: J.W. Janssen
>            Assignee: J.W. Janssen
>             Fix For: metatype-1.0.8
>
>         Attachments: FELIX-3757.patch
>
>
> If an attribute is required, but does not define its min, max or optionValues parameters,
the validate() regards absent data as valid.

--
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

Mime
View raw message