[richfaces-issues] [JBoss JIRA] (RF-12583) Typo in the makePatternAMatch CSV javascript function
RH Bugzilla Integration (JIRA)
jira-events at lists.jboss.org
Thu Nov 8 06:45:19 EST 2012
[ https://issues.jboss.org/browse/RF-12583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12732701#comment-12732701 ]
RH Bugzilla Integration commented on RF-12583:
----------------------------------------------
Jan Papousek <jpapouse at redhat.com> changed the Status of [bug 822215|https://bugzilla.redhat.com/show_bug.cgi?id=822215] from ON_QA to VERIFIED
> Typo in the makePatternAMatch CSV javascript function
> -----------------------------------------------------
>
> Key: RF-12583
> URL: https://issues.jboss.org/browse/RF-12583
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 4.1.0.Milestone4
> Reporter: Brian Leathem
> Assignee: Brian Leathem
> Fix For: 4.2.4, 4.3.0.M3
>
>
> The _makePatternAMatch_ function was introduced in resolution to RF-11531. however that method has a typo in it. See the extra ";" in the second _pattern_ assignment.
> {code}
> var makePatternAMatch = function(pattern) {
> if (! (pattern.slice(0, 1) === '^') ) {
> pattern = '^' + pattern;
> }
> if (! (pattern.slice(-1) === '$') ) {
> pattern = pattern; + '$';
> }
> return pattern;
> }
> {code}
--
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
More information about the richfaces-issues
mailing list