[gatein-issues] [JBoss JIRA] Commented: (GTNPORTAL-1355) Locale is not set correctly in login form when login failed

Gary Hu (JIRA) jira-events at lists.jboss.org
Thu Jul 15 11:11:59 EDT 2010


    [ https://jira.jboss.org/browse/GTNPORTAL-1355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12539433#action_12539433 ] 

Gary Hu commented on GTNPORTAL-1355:
------------------------------------

for the scenario #2, there is one more finding:

If the default locale is "de_DE", the Firefox shows two language settings "de_DE" and "de". By default the "de_DE" is selected. If switching to "de" the issue is gone. This has been verified in Firefox 3.6.6 on Windows.

To change the language setting in Firefox:

Version 3.0 and newer:

 Linux:
    Edit->Preference->Content->Languages->Choose...
 Windows:
    Tools->Options->Content->Languages->Choose...

Hope this finding gives more hints to the solution of the issue. 

> Locale is not set correctly in login form when login failed
> -----------------------------------------------------------
>
>                 Key: GTNPORTAL-1355
>                 URL: https://jira.jboss.org/browse/GTNPORTAL-1355
>             Project: GateIn Portal
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 3.0.0-GA
>            Reporter: Gary Hu
>            Assignee: Marko Strukelj
>
> There are two scenarios to demonstrate the issue.
> 1. default locale and default OS LANG are both "en_US". If change the language to a different one other the default, and when login fails it shows the label text in English not the one selected previously. This happens to both Firefox and IE8 browsers.
>     To reproduce the issue:
>     1) open portal http://localhost:8080/portal
>     2) click the link "Change Language" at the top right corner, and change it to German
>     3) click "Anmeoden"(Sign in) and the login popup appears
>     4) fill in information not correct so the login fails and then be redirected to a different login page with the label showing English not in German.
> 2. default locale and default OS LANG are both "de_DE". If login fails it shows the label text in German as expected in IE8 but in English in Firefox.
>    1) open portal http://localhost:8080/portal
>    2) click "Anmeoden"(Sign in) and the login popup appears
>    3) fill in information not correct so the login fails and then be redirected to a different login page. If the browser is IE8, the label text shows German as expected. If the browser is Firefox the label  
>       text shows in English. 

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

        


More information about the gatein-issues mailing list