[
https://issues.jboss.org/browse/RF-12373?page=com.atlassian.jira.plugin.s...
]
Brian Leathem updated RF-12373:
-------------------------------
Fix Version/s: 4.3.0.Milestone2
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
Fix For: 4.3.0.Milestone2
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