[richfaces-issues] [JBoss JIRA] Updated: (RF-4030) Javascript errors after redirect

Nick Belaevski (JIRA) jira-events at lists.jboss.org
Mon Jul 28 12:26:45 EDT 2008


     [ https://jira.jboss.org/jira/browse/RF-4030?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nick Belaevski updated RF-4030:
-------------------------------

    Fix Version/s: 3.1.x
                   3.3.0
         Assignee: 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: Nick Belaevski
>             Fix For: 3.1.x, 3.3.0
>
>
> 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

        



More information about the richfaces-issues mailing list