yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #62231
[Bug 1444725] Re: logout url is hard coded / wrong
*** This bug is a duplicate of bug 1558917 ***
https://bugs.launchpad.net/bugs/1558917
** Changed in: horizon
Assignee: Kevin Chen (kevchentw) => (unassigned)
** Changed in: horizon
Status: In Progress => Triaged
** This bug has been marked a duplicate of bug 1558917
When ajax request requested in session timeout, it will jump to the 404 page
--
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/1444725
Title:
logout url is hard coded / wrong
Status in OpenStack Dashboard (Horizon):
Triaged
Bug description:
There is some javascript which hard codes the logout url to be
"/auth/logout" at:
https://github.com/openstack/horizon/blob/master/horizon/static/horizon/js/angular/horizon.js#L29
This is incorrect in number of distributions / deployments where
horizon resides in a path such as "/dashboard" or "/horizon"
Steps to reproduce:
1. (Optional) Update settings.py/local_settings.py and set:
SESSION_TIMEOUT = 60 # Easier for testing
2. Also in settings, set LAUNCH_INSTANCE_NG_ENABLED = True
3. Start server
4. Log into dashboard
5. Navigate to project > instances panel
6. Wait 60 seconds for session to expire
7. Click on "Launch Instance" action button to display modal
Expected:
User should be redirected to correct logged out URL and be prompted to log back in.
Actual:
Modal displays but is missing data such as image sources. User is unable to continue with the modal.
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1444725/+subscriptions
References