]
Oliver Kišš edited comment on ARQGRA-441 at 5/9/14 3:09 PM:
------------------------------------------------------------
[this
]
in jQuery seems to be causing the problems. I tried reverting it and kitchensink-backbone
worked correctly after xhrInterception was installed.
was (Author: okiss):
[this
]
in jQuery seems to be causing the problems. I tried reverting it and kitchensink-backbone
worked correctly after xhrInterceptor was installed.
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
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.