If you are logged out of a session in Horizon and log back in, you get an error message that should have been on the login screen.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Won't Fix
|
Low
|
Unassigned |
Bug Description
Repro:
1) Log in to Horizon.
2) Open your browser's cookies and delete the cookies for the Horizon dashboard you are on.
3) Refresh the page.
Expected:
You are placed on the login page with an error that says "Error: Please log in to continue." You may then log in using the login dialog and be redirected back to the page you were on before you deleted the cookies.
Actual:
You ARE placed on the login page, but no error is show. Upon successfully logging in, you receive a flash notification that says "Error: Please log in to continue." which is wrong because I DID just log in...
I believe this is due to the error queuing that was done for flash notifications so that you no longer receive messages on the login screen like "Error: Unable to retrieve keypair list." when you are logged out, which made no sense and were contextually irrelevant on the login page.
In working on the auth refactor review that's up right now I noticed that there's some messages that are no longer being displayed in the right place as well. Thanks for filing the bug.