← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1298074] Re: Horizon does not propagate logout_reason messages for ajax calls

 

** Changed in: horizon
       Status: Fix Committed => Fix Released

** Changed in: horizon
    Milestone: None => juno-1

-- 
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/1298074

Title:
  Horizon does not propagate logout_reason messages  for ajax calls

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  Horizon propagates logout_reason messages by setting a "logout_reason"
  cookie in the response. After the user is redirected to logout, the
  login view is rendered, and the logout_reason appears in the message
  portion of the login screen.

  In the case of the response to an ajax request, a redirect to logout
  results in the creation of a new HttpResponse in
  horizon.middleware.HorizonMiddleware.process_request() which is then
  returned to the requestor.  The logout_reason cookie from the incoming
  response is not copied over. In this case, the logout_reason will be
  lost.

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


References