[richfaces-issues] [JBoss JIRA] (RF-11531) Client side validation: regexp ignores whitespace at the beginning
Brian Leathem (Resolved) (JIRA)
jira-events at lists.jboss.org
Thu Oct 20 23:53:45 EDT 2011
[ https://issues.jboss.org/browse/RF-11531?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Leathem resolved RF-11531.
--------------------------------
Labels: needs-qe (was: )
Assignee: Brian Leathem
Resolution: Done
Added a '^' to the beginning and a '$' to the end of the regex pattern, if they don't already exist
> Client side validation: regexp ignores whitespace at the beginning
> ------------------------------------------------------------------
>
> Key: RF-11531
> URL: https://issues.jboss.org/browse/RF-11531
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-input
> Affects Versions: 4.1.0.Milestone3
> Reporter: Jan Papousek
> Assignee: Brian Leathem
> Labels: needs-qe
> Fix For: 4.1.0.Milestone4
>
>
> Let "[a-z].*" is expected regexp and input value is " a". The value shouldn't pass the validation, but it passes.
> This can be reproduced in Metamer:
> - http://localhost:8080/metamer/faces/components/richAutocomplete/csv.xhtml
> - http://localhost:8080/metamer/faces/components/richInplaceInput/csv.xhtml
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list