Uploaded image for project: 'GateIn Portal'
  1. GateIn Portal
  2. GTNPORTAL-1355

Locale is not set correctly in login form when login failed

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.0.0-GA
    • Fix Version/s: 3.2.0-M01
    • Component/s: None
    • Labels:
      None
    • Steps to Reproduce:
      Hide

      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.

      Show
      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.

      Description

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  mstruk Marko Strukelj
                  Reporter:
                  ghjboss Gary Hu
                • Votes:
                  2 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: