[richfaces-issues] [JBoss JIRA] Closed: (RF-4142) GradientType.valueOf(string.toUpperCase()) Localization problem

Mikhail Vitenkov (JIRA) jira-events at lists.jboss.org
Wed Sep 3 11:02:40 EDT 2008


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

Mikhail Vitenkov closed RF-4142.
--------------------------------



Verified at 3.2.2.CR2

> GradientType.valueOf(string.toUpperCase()) Localization problem
> ---------------------------------------------------------------
>
>                 Key: RF-4142
>                 URL: https://jira.jboss.org/jira/browse/RF-4142
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.2.1
>            Reporter: Mustafa Dasgin
>            Assignee: Mikhail Vitenkov
>             Fix For: 3.2.2
>
>
> If your defaut local language and country setting is "tr_TR", GradientType.valueOf(string.toUpperCase()) statement converts "plain" to "PLA?N" (upper case "i" with dot). And gets the below exception:
> SEVERE: Servlet.service() for servlet Faces Servlet threw exception
> java.lang.IllegalArgumentException: No enum const class org.richfaces.renderkit.html.images.GradientType.PLA?N
> at java.lang.Enum.valueOf(Unknown Source)
> at org.richfaces.renderkit.html.images.GradientType.valueOf(GradientType.java:14)
> at org.richfaces.renderkit.html.images.GradientType.getByParameter(GradientType.java:99)
> at org.richfaces.renderkit.html.BaseGradient.saveData(BaseGradient.java:247) 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list