[
https://jira.jboss.org/jira/browse/RF-4030?page=com.atlassian.jira.plugin...
]
Nick Belaevski resolved RF-4030.
--------------------------------
Fix Version/s: 3.3.1
(was: Future)
Resolution: Done
Assignee: Tsikhon Kuprevich (was: Nick Belaevski)
Javascript errors after redirect
--------------------------------
Key: RF-4030
URL:
https://jira.jboss.org/jira/browse/RF-4030
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.5
Environment: myFaces 1.1.5
tomahawk 1.1.5
Reporter: Michael Heinen
Assignee: Tsikhon Kuprevich
Fix For: 3.3.1
I use a ServletFilter for all requests to check whether user is still logged in, his
session is still valid and whether backend system are available.
If anything is wrong I redirect the current (Ajax) request to another page which can be
outside of my application.
In this szenario Javascript errors occur in function A4J.AJAX.replacePage
All access to LOG has to be checked after following line:
window.document.write(req.getResponseText());
Logging debug output should not result in javascript errors.
Therefore the existence of LOG has to be checked after the response is inserted into the
current document.
I found 7 occurrences
e.g.
if (window.LOG){LOG.debug("...");}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira