[richfaces-issues] [JBoss JIRA] Commented: (RF-10268) CSV: ValidateLength works wrong without maximum specified

Alexander Smirnov (JIRA) jira-events at lists.jboss.org
Mon Jan 24 18:34:50 EST 2011


    [ https://issues.jboss.org/browse/RF-10268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12577624#comment-12577624 ] 

Alexander Smirnov commented on RF-10268:
----------------------------------------

0 is default value for length validator option, that is different from Integer.MIN_VALUE for other jsf attributes. I did make a check for that, but it seems that there are more places to verify.

> CSV: ValidateLength works wrong without maximum specified
> ---------------------------------------------------------
>
>                 Key: RF-10268
>                 URL: https://issues.jboss.org/browse/RF-10268
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-validators
>    Affects Versions: 4.0.0.Milestone5
>            Reporter: Ilya Shaikovsky
>            Assignee: Alexander Smirnov
>             Fix For: 4.0.0.CR1
>
>
> add <f:validateLength minimum="3"/> and rich:validator
> result - validation already failed. Seems because maximum is 0 in that case.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list