[ 
https://issues.apache.org/jira/browse/ROL-1168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Glen Mazza closed ROL-1168.
---------------------------

    Resolution: Cannot Reproduce

Bug report against Roller 2.3; the classes in question don't seem to exist 
anymore.
                
> When a UserData note created, set mLocale to default 
> Locale.getDisplayName(),but not default Locale
> ---------------------------------------------------------------------------------------------------
>
>                 Key: ROL-1168
>                 URL: https://issues.apache.org/jira/browse/ROL-1168
>             Project: Roller
>          Issue Type: Bug
>          Components: User Interface - General
>    Affects Versions: 2.3
>         Environment: Linux,JDK1.5,Tomcat5.5,zh_CN
>            Reporter: wanghongbao
>            Assignee: Roller Unassigned
>
> When I what the default Language to Chinese, find the Bug.
> in the taglibs.jsp,
> if(mUser != null) {
>     request.setAttribute("mLocale", mUser.getLocale());
> } else {
>     request.setAttribute("mLocale", 
>             LanguageUtil.getViewLocale(request).getDisplayName());
> }
> Above code result in a String Object set to Local property, so when the user 
> not login, We will always see English Locale.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to