[arquillian-issues] [JBoss JIRA] (ARQGRA-441) xhrInterception breaks applications using jQuery 2.x

Oliver Kišš (JIRA) issues at jboss.org
Mon May 26 04:27:56 EDT 2014


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

Oliver Kišš commented on ARQGRA-441:
------------------------------------

[~lfryc] I have tried, but I couldn't find anything. I was comparing differences in the return value of {{$.ajaxSettings.xhr()}} between jQuery 1.9.1 and 2.1.0 and before/after {{xhrInterception.install()}}, but I didn't find anything that would help me.
Do you have any pointers about what to look for and where?

> xhrInterception breaks applications using jQuery 2.x
> ----------------------------------------------------
>
>                 Key: ARQGRA-441
>                 URL: https://issues.jboss.org/browse/ARQGRA-441
>             Project: Arquillian Graphene
>          Issue Type: Bug
>    Affects Versions: 2.0.0.Final, 2.0.2.Final
>         Environment: Firefox 29, Chrome 34
>            Reporter: Oliver Kišš
>            Priority: Critical
>             Fix For: 2.0.3.Final
>
>
> After {{[kitchensink-backbone|https://github.com/jboss-developer/jboss-wfk-quickstarts/tree/2.6.x-develop/kitchensink-backbone]}} and {{[contacts-mobile-basic|https://github.com/jboss-developer/jboss-wfk-quickstarts/pull/154]}} quickstarts were updated to use jQuery 2.0.3, Graphene guards no longer work properly in their functional tests.
> After {{window.Graphene.xhrInterception.install()}}, the quickstarts do not react to responses to ajax requests they make (server side validation messages are not shown, member list is not displayed, no feedback is shown after a new member is registered).
> When {{window.Graphene.xhrInterception.uninstall()}} is run, the quickstarts start behaving normally again.
> I tried reproducing the issue with different versions of javascript libraries used in the quickstarts and could reproduce it if jQuery 2.x was used (tested 2.0.3 and 2.1.0). Other libraries do not seem to have an effect on the issue.



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)



More information about the arquillian-issues mailing list