[JBoss JIRA] (ARQGRA-433) FieldAccessValidatorEnricher checks access to fields uniformly
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-433?page=com.atlassian.jira.plugin... ]
Lukáš Fryč updated ARQGRA-433:
------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> FieldAccessValidatorEnricher checks access to fields uniformly
> --------------------------------------------------------------
>
> Key: ARQGRA-433
> URL: https://issues.jboss.org/browse/ARQGRA-433
> Project: Arquillian Graphene
> Issue Type: Bug
> Components: core
> Affects Versions: 2.0.2.Final
> Reporter: Stefan Miklosovic
> Assignee: Juraj Húska
> Priority: Optional
> Fix For: 2.0.3.Final
>
>
> I have this test
> {code}
> @Rule
> public ExpectedException expectedException = ExpectedException.none();
> @Test
> @InSequence(2)
> @ReportMessage("This method should pass.")
> public void testWithExpectedExceptionRule() {
> expectedException.expect(RuntimeException.class);
> throw new RuntimeException("this exception is expected");
> }
> {code}
> Logger writes this out:
> WARNING: Public field 'expectedException' found in org.arquillian.droidium.devconf.AeroGearTestCase. Direct access to fields outside of the declaring class is not allowed.
> Apr 01, 2014 11:50:27 AM org.jboss.arquillian.graphene.enricher.FieldAccessValidatorEnricher checkFieldValidity
> However that @Rule field _has to be_ public
> {quote}
> A field must be public, not static, and a subtype of TestRule
> {quote}
> So in this case validation does not make sense.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 7 months
[JBoss JIRA] (ARQGRA-441) xhrInterception breaks applications using jQuery 2.x
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-441?page=com.atlassian.jira.plugin... ]
Lukáš Fryč updated ARQGRA-441:
------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> 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šš
> Assignee: 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)
10 years, 7 months
[JBoss JIRA] (ARQGRA-432) guardAjax does not work with XHR2 requests
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-432?page=com.atlassian.jira.plugin... ]
Lukáš Fryč updated ARQGRA-432:
------------------------------
Status: Resolved (was: Pull Request Sent)
Assignee: Juraj Húska
Resolution: Done
> guardAjax does not work with XHR2 requests
> ------------------------------------------
>
> Key: ARQGRA-432
> URL: https://issues.jboss.org/browse/ARQGRA-432
> Project: Arquillian Graphene
> Issue Type: Bug
> Components: core
> Affects Versions: 2.0.2.Final
> Reporter: Juraj Húska
> Assignee: Juraj Húska
> Priority: Critical
> Fix For: 2.0.3.Final
>
>
> {{guardAjax}} does not work correctly with XHR2 requests. The request is guarded correctly, but the callback once it is completed is not called.
> The problem seems to be with {{onload}} (since XHR2) vs. {{onreadystatechange}} (since XHR1) callbacks.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 7 months