[
https://issues.jboss.org/browse/RF-11035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12645380#comment-12645380
]
Pavol Pitonak commented on RF-11035:
------------------------------------
I'm not to reproduce with following configuration:
{quote}
RichFaces 4.1.0-SNAPSHOT
Metamer 4.1.0-SNAPSHOT r.22976
Mojarra 2.0.3-
JBoss AS 6.1.0.Final
OpenJDK Runtime Environment 1.6.0_22-b22 @ Linux
Chrome 15.0.874.121 @ Linux i686
{quote}
However, it fails on Jenkins. When launched manually on Jenkins node, it works
fine.
> Unexpected exception during isValid call with Hibernate @Size validation on
> h:selectManyCheckbox
> ------------------------------------------------------------------------------------------------
>
> Key: RF-11035
> URL: https://issues.jboss.org/browse/RF-11035
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-validators
> Affects Versions: 4.1.0.Milestone1
> Environment: * RichFaces 4.1.0-SNAPSHOT r.22520
> * Metamer ${4.1.0-SNAPSHOT} r.${22520}
> * Apache MyFaces JSF-2.0 Core Impl 2.0.4 / Mojarra 2.0.4-b09
> * Apache Tomcat 7.0.12
> * Java(TM) SE Runtime Environment 1.6.0_19-b04 @Linux
> * Firefox 3.6.17 @ Linux x86_64
> Reporter: Ján Jamrich
> Labels: ci_issue
> Fix For: 4.Future
>
> Attachments: exception-with-mojarra, exception-with-myFaces
>
>
> When validation performed on input of type h:selectManyCheckbox (bound to
> property of type List<String>) on backing bean), and unexpected error appear.
> See details for Mojarra and MyFaces in log attached.
> Since property bound to property is List type, SizeValidatorForCollection
> validator implementation is called. But submited items from
> h:selectManyCheckbox are sent to appropriate method (isValid() ) as String[].
> (Every item from selectManyCheckbox is another array item). Its the same
> behavior for Mojarra and MyFaces.
> @Size annotation declare that it should work with String, Collection, Map and
> Array.
--
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
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues