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: