[richfaces-issues] [JBoss JIRA] (RF-12374) Example values for CSV and server-side conversion messages differs on MyFaces

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


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

Lukáš Fryč commented on RF-12374:
---------------------------------

This issue is reproducible with unit tests, but in order to overcome it, tests were written to unify example values:
https://github.com/richfaces/components/blob/4a9aeeb0870fb71d8233c874e611c7a79d24a569/validator/ui/src/test/java/org/richfaces/javascript/client/converter/ConverterTestBase.java#L49

In case this will be fixed, this unification can be removed from test.
                
> Example values for CSV and server-side conversion messages differs on MyFaces
> -----------------------------------------------------------------------------
>
>                 Key: RF-12374
>                 URL: https://issues.jboss.org/browse/RF-12374
>             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
>
> CSV uses hard-coded values for conversion messages:
> https://github.com/richfaces/components/blob/develop/validator/ui/src/main/resources/META-INF/resources/org.richfaces/richfaces-csv.js#L273
> However those are taken from JSF RI (Mojarra)
> and MyFaces provides slightly different values.
> Basically all conversion messages then provide different values when input validated by CSV and when validated by JSF.
> ----
> To fix this issue, we would need to retrieve those example messages and render them to {{richfaces-csv.js}}.

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