[richfaces-issues] [JBoss JIRA] (RF-12373) CSV: messages for long range validation inconsistent on client and server with MyFaces

Lukáš Fryč (JIRA) jira-events at lists.jboss.org
Thu Jul 26 09:37:07 EDT 2012


     [ https://issues.jboss.org/browse/RF-12373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukáš Fryč updated RF-12373:
----------------------------

    Description: 
The {{LongRangeValidatorTest}} test case is broken, 3 tests fails:

{code}

org.junit.ComparisonFailure: expected:<[testComponent: Validation Error: Value is less than allowable minimum of '2']> but was:<[: Validation Error: Specified attribute is not between the expected values of 2 and testComponent.]>
	at org.junit.Assert.assertEquals(Assert.java:123)
	at org.junit.Assert.assertEquals(Assert.java:145)
	at org.richfaces.javascript.client.validator.ValidatorTestBase.testValidator(ValidatorTestBase.java:70)
{code}

FacesMessage: {{testComponent: Validation Error: Value is less than allowable minimum of '2'}}
CSV: {{: Validation Error: Specified attribute is not between the expected values of 2 and testComponent.}}

Seems to be problem in client-side validator message interpolation impl.

  was:
The {{LongRangeValidatorTest}} test case is broken, 3 tests fails:

{code}

org.junit.ComparisonFailure: expected:<[testComponent: Validation Error: Value is less than allowable minimum of '2']> but was:<[: Validation Error: Specified attribute is not between the expected values of 2 and testComponent.]>
	at org.junit.Assert.assertEquals(Assert.java:123)
	at org.junit.Assert.assertEquals(Assert.java:145)
	at org.richfaces.javascript.client.validator.ValidatorTestBase.testValidator(ValidatorTestBase.java:70)
{code}


    
> CSV: messages for long range validation inconsistent on client and server with MyFaces
> --------------------------------------------------------------------------------------
>
>                 Key: RF-12373
>                 URL: https://issues.jboss.org/browse/RF-12373
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-validators
>    Affects Versions: 4.2.2.Final
>            Reporter: Lukáš Fryč
>            Priority: Minor
>              Labels: myfaces
>
> The {{LongRangeValidatorTest}} test case is broken, 3 tests fails:
> {code}
> org.junit.ComparisonFailure: expected:<[testComponent: Validation Error: Value is less than allowable minimum of '2']> but was:<[: Validation Error: Specified attribute is not between the expected values of 2 and testComponent.]>
> 	at org.junit.Assert.assertEquals(Assert.java:123)
> 	at org.junit.Assert.assertEquals(Assert.java:145)
> 	at org.richfaces.javascript.client.validator.ValidatorTestBase.testValidator(ValidatorTestBase.java:70)
> {code}
> FacesMessage: {{testComponent: Validation Error: Value is less than allowable minimum of '2'}}
> CSV: {{: Validation Error: Specified attribute is not between the expected values of 2 and testComponent.}}
> Seems to be problem in client-side validator message interpolation impl.

--
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