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


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

        
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to