i18n javascript on login page requires login

Bug #1708671 reported by Jouke
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Invalid
Undecided
Unassigned

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.

Tags: ux
Revision history for this message
Jouke (jouker) wrote :
Revision history for this message
wei.ying (wei.yy) wrote :

Hi, Jouke.
After this patch(https://review.openstack.org/#/c/490131/) merged, the problem no longer exists. You can pull the latest code.

Revision history for this message
Jouke (jouker) wrote :

Hi Wei Ying, you are right, the fields now disappear - thank you for mentioning the patch.

Jouke (jouker)
Changed in horizon:
status: New → Fix Committed
Revision history for this message
Akihiro Motoki (amotoki) wrote :

Fix Committed means a fix is merged into the repository. In this case, this patch(https://review.openstack.org/#/c/490131/) is not a fix. The issue just disappears after that, so "Invalid' looks better.

Changed in horizon:
status: Fix Committed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.