[arquillian-issues] [JBoss JIRA] (ARQGRA-272) guardXhr does not work for redirected pages

Lukáš Fryč (JIRA) jira-events at lists.jboss.org
Fri Mar 15 04:40:41 EDT 2013


    [ https://issues.jboss.org/browse/ARQGRA-272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12761314#comment-12761314 ] 

Lukáš Fryč commented on ARQGRA-272:
-----------------------------------

If you do redirect, then it might be your case.

{{guardXhr}} will wait for a page to indicate that XHR has happened.
If there will be redirect caused by callback in AJAX request, and HTTP request will be issued,
then we can't deterministically say if XHR or HTTP was caused.

In this case I would say we should make guardHttp safe for redirection caused by XHR response.
                
> guardXhr does not work for redirected pages
> -------------------------------------------
>
>                 Key: ARQGRA-272
>                 URL: https://issues.jboss.org/browse/ARQGRA-272
>             Project: Arquillian Graphene
>          Issue Type: Bug
>    Affects Versions: 2.0.0.Alpha3
>            Reporter: Lukáš Fryč
>            Priority: Critical
>             Fix For: 2.0.0.Beta1
>
>
> Try to add guardXhr here to this call:
> https://github.com/richfaces/core/blob/bb83bc8e892eec5ab9a83ec3ec060da5e1cdd2ae/impl/src/test/integration/org/richfaces/integration/partialViewContext/AjaxRedirectionTest.java#L59

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the arquillian-issues mailing list