[PATCH conductor 0/1] #798960 - Session timeout redirects to login page

Matt Wagner matt.wagner at redhat.com
Fri Mar 2 20:08:54 UTC 2012


Hi all,

This addresses the fact that AJAX requests made after a session had timed out weren't doing anything sensible. I can't reproduce the exact issue described in the bug (in which the login page is displayed, poorly, as if it were a partial); I get an error that my credentials are invalid. This patch causes tabAjaxRequest to catch the HTTP 401 - Unauthenticated error and redirect you to the login page.

Please note that https://bugzilla.redhat.com/show_bug.cgi?id=799421 is still outstanding (and only furthers my opinion that the introduction of session which time out should be reverted because it was a feature request that has ended up causing multiple bugs). A good way to test this patch while avoiding the bug is #799421 is described in the original bug report for this bug. If you're testing locally, note that you could cheat and modify session_store.rb's :expire_after => to a value lower than 15.minutes.

-- Matt



More information about the aeolus-devel mailing list