Bug 577109
| Summary: | ajax / partial-page requests do not properly recover from view exceptions | ||
|---|---|---|---|
| Product: | [Other] RHQ Project | Reporter: | Joseph Marques <jmarques> |
| Component: | Core UI | Assignee: | Joseph Marques <jmarques> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Corey Welton <cwelton> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 1.4 | CC: | jsanda |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | 2.4 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2010-08-12 16:57:07 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Joseph Marques
2010-03-26 07:10:12 UTC
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. |