← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1224458] Re: No handling for session expire

 

** Changed in: tuskar-ui
       Status: Fix Committed => Fix Released

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

Title:
  No handling for session expire

Status in OpenStack Dashboard (Horizon):
  Fix Released
Status in Tuskar UI:
  Fix Released

Bug description:
  When the login session expires, and I try to perform any operation,
  for example create a resource class, I get the generic "Error: An
  error occurred. Please try again later." and this traceback in the
  logs:

  Traceback:
  File "/home/sheep/devel/horizon/.venv/local/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
    187.                 response = middleware_method(request, response)
  File "/home/sheep/devel/horizon/horizon/middleware.py" in process_response
    117.             queued_msgs = request.horizon['async_messages']

  Exception Type: AttributeError at /infrastructure/resource_classes/create/
  Exception Value: 'WSGIRequest' object has no attribute 'horizon'

  It could be better to have me redirected to the login page instead.

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