[jira] [Commented] (MYFACES-3459) RegexValidator does not provide label and pattern for first usage of RegexValidator.NOT_MATCHED

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (MYFACES-3459) RegexValidator does not provide label and pattern for first usage of RegexValidator.NOT_MATCHED

My Faces - Dev mailing list

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

Thomas Andraschko commented on MYFACES-3459:
--------------------------------------------

[~lu4242] i think we can just commit the patch?

> RegexValidator does not provide label and pattern for first usage of RegexValidator.NOT_MATCHED
> -----------------------------------------------------------------------------------------------
>
>                 Key: MYFACES-3459
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3459
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: General
>    Affects Versions: 2.1.5
>         Environment: myfaces trunk
>            Reporter: Martin Kočí
>            Assignee: Martin Kočí
>            Priority: Trivial
>         Attachments: myfaces-1244836.patch, MYFACES-3459.patch
>
>
> RegexValidator uses javax.faces.validator.RegexValidator.NOT_MATCHED 2x:
> javax.faces.validator.RegexValidator.NOT_MATCHED= the passed value is not a String, or when the pattern does not match the passed value.
> the first usage for" if (value instanceof String)" check does not provide args for {0} {1} in message.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)