[richfaces-issues] [JBoss JIRA] Resolved: (RF-4142) GradientType.valueOf(string.toUpperCase()) Localization problem
Nick Belaevski (JIRA)
jira-events at lists.jboss.org
Mon Aug 11 08:59:50 EDT 2008
[ https://jira.jboss.org/jira/browse/RF-4142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nick Belaevski resolved RF-4142.
--------------------------------
Fix Version/s: 3.2.2
Resolution: Done
Assignee: Tsikhon Kuprevich
> 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: Tsikhon Kuprevich
> 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