← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1708671] [NEW] i18n javascript on login page requires login

 

Public bug reported:

When using the Horizon version currently available on git, Angular is unable to load due to - it appears - the i18n JavaScript file being unable to load.
The request for this JavaScript is being redirected when at the login screen. When logged in, loading this file is giving no problems.

Browser consoles gives the following:
/dashboard/auth/login/?next=/dashboard/i18n/js/horizon%2Bopenstack_dashboard/:5 Uncaught SyntaxError: Unexpected token <

At which point the whole Angular app seems to fail due to not having
gettext available.

The redirect to the login page happens consistently on two instances of
devstack (both set up this week), both http and https, Chrome 59 and
Firefox 54.

The impact of this bug is very small:
- Keystone credential login appears to work as usual
- Federated login/WEBSSO does not hide the user/pass fields, creating an inconvenience of having to fill in useless data for these users. This is how I found out about this issue.

** Affects: horizon
     Importance: Undecided
         Status: New


** Tags: ux

** Attachment added: "Screenshot from 2017-08-04 16-34-22.png"
   https://bugs.launchpad.net/bugs/1708671/+attachment/4927089/+files/Screenshot%20from%202017-08-04%2016-34-22.png

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1708671

Title:
  i18n javascript on login page requires login

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  When using the Horizon version currently available on git, Angular is unable to load due to - it appears - the i18n JavaScript file being unable to load.
  The request for this JavaScript is being redirected when at the login screen. When logged in, loading this file is giving no problems.

  Browser consoles gives the following:
  /dashboard/auth/login/?next=/dashboard/i18n/js/horizon%2Bopenstack_dashboard/:5 Uncaught SyntaxError: Unexpected token <

  At which point the whole Angular app seems to fail due to not having
  gettext available.

  The redirect to the login page happens consistently on two instances
  of devstack (both set up this week), both http and https, Chrome 59
  and Firefox 54.

  The impact of this bug is very small:
  - Keystone credential login appears to work as usual
  - Federated login/WEBSSO does not hide the user/pass fields, creating an inconvenience of having to fill in useless data for these users. This is how I found out about this issue.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1708671/+subscriptions


Follow ups