Description of problem: Partial-page requests made by A4J do not properly redirect to the last known valid URL. Instead, it will blow up with a stack trace in the server log and an empty page in the browser. How reproducible: Very Steps to Reproduce: 1. Visit the JSF-based inventory browser, which uses partial-page requests to refresh the counts in the tabs / subtabs 2. Bounce the server 3. When the server comes back up, the partial-page request will be initiated, but since the view is expired it will redirect to the login page Actual results: So you log in, which invokes the failure outlined in the description above. Expected results: Successfully reload the inventory browser. Additional info: The failure outline in the description happens on any and all pages that use ajax / partial-page requests. So, this problem can be verified on any of those pages by using the server-bounce method. Once the fix is committed, all of those pages should now work properly.
committed to master d0d27d83e1e961d591b674e7c4a80e6adf2981e8 * fix for partial-page requests not properly recovering from view exceptions * during the authentication action, test whether we've "bookmarked" an ajax request...if so, redirect to the URLs in the web user preferences previously stored by WebUserTrackingFilter
Here is the commit hash for how I handled a similar situation in the raw-config branch - 1fc31c7103c1e5ec432393354e154f377c62cb07 (http://git.fedorahosted.org/git/rhq.git/?p=rhq/rhq.git;a=commit;h=1fc31c7103c1e5ec432393354e154f377c62cb07) When a ViewExpiredException is thrown, usually due to session timeout, on an ajax request, the redirect url was getting all mangled as due to the inclusion of JSF and RichFaces parameters; consequently, the redirect fails and the user sees a blank page. I utilized some of the RichFaces support for handling session timeouts. I registered a callback function that displays an alert to the user that their session has timed out and then redirects them to the login page. I was not sure how to get the user back to the previously redirected url. I don't think this work ever got merged into master. It might be worth a look though.
Pushing to ON_QA, from the comments this looks like its fixed.
correct, this is fixed, just forgot to push it to QA.
QA Verified.
Mass-closure of verified bugs against JON.