You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/04/10 07:15:42 UTC

[jira] [Commented] (WW-4578) Validators do not work for multiple values

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

ASF GitHub Bot commented on WW-4578:
------------------------------------

GitHub user lukaszlenart opened a pull request:

    https://github.com/apache/struts/pull/128

    Multidimensional validation

    This PR adds support for validation of Collections in field validators
    
    Resolves WW-4578

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/lukaszlenart/struts multidimensional-validation

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/struts/pull/128.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #128
    
----
commit caca3d057d56f43699c1ef5d37e7800eb7b0e5a5
Author: Lukasz Lenart <lu...@apache.org>
Date:   2017-04-06T06:59:11Z

    WW-4578 Makes RegexFieldValidator to support collections

commit 158eda97834645a542e81d7414b67f8285042b8b
Author: Lukasz Lenart <lu...@apache.org>
Date:   2017-04-10T06:37:22Z

    WW-4578 Changes range validators to support collections

commit e66fd538b519b1a156d76e4bbe4e994a35e3c464
Author: Lukasz Lenart <lu...@apache.org>
Date:   2017-04-10T07:13:14Z

    WW-4578 Makes required validator to support collections

----


> Validators do not work for multiple values
> ------------------------------------------
>
>                 Key: WW-4578
>                 URL: https://issues.apache.org/jira/browse/WW-4578
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Annotations
>    Affects Versions: 2.3.24
>            Reporter: Jose L Martinez-Avial
>            Priority: Minor
>              Labels: regex, validation
>             Fix For: 2.5.next
>
>
> The RegexFieldValidator only validates if the parameter receives is an String. So validation for multiple values (received as a String array) does not work. The same for other validators.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)