[JBoss JIRA] (ARQ-814) Should support injection of EJBs (as CDI Beans) in Weld Embedded
by Vasil Svetoslavov (JIRA)
[ https://issues.jboss.org/browse/ARQ-814?page=com.atlassian.jira.plugin.sy... ]
Vasil Svetoslavov commented on ARQ-814:
---------------------------------------
Any chance of this issue getting any progress?
> Should support injection of EJBs (as CDI Beans) in Weld Embedded
> ----------------------------------------------------------------
>
> Key: ARQ-814
> URL: https://issues.jboss.org/browse/ARQ-814
> Project: Arquillian
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Weld Containers
> Affects Versions: weld_1.0.0.CR3
> Reporter: Anthony O.
> Assignee: Marko Lukša
> Attachments: EJBTest.java
>
>
> As seen in [this post on the Arquillian forum|https://community.jboss.org/message/723563], we cannot test that simple class as an NPE is thrown from {{org.jboss.arquillian.container.weld.ee.embedded_1_1.mock.MockEjBServices}} which seems to be a copy of Weld code as [Aslak Knutsen|https://community.jboss.org/people/aslak] said.
> {code}
> @RunWith(Arquillian.class)
> public class EJBTest {
> @Deployment
> public static JavaArchive createTestArchive() {
> return ShrinkWrap
> .create(JavaArchive.class, "test.jar")
> .addAsManifestResource(EmptyAsset.INSTANCE, ArchivePaths.create("beans.xml"));
> }
> @Stateless
> public static class SomeService {
> public String someMethod() {
> return "test";
> }
> }
> @Inject
> SomeService someService;
> @Test
> public void testStatelessCall() {
> Assert.assertEquals("test", someService.someMethod());
> }
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 4 months
[JBoss JIRA] (ARQGRA-455) Guarded XHR2 request fails when its onload callback is JQuery proxy
by Oliver Kišš (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-455?page=com.atlassian.jira.plugin... ]
Oliver Kišš reassigned ARQGRA-455:
----------------------------------
Assignee: Oliver Kišš
> Guarded XHR2 request fails when its onload callback is JQuery proxy
> -------------------------------------------------------------------
>
> Key: ARQGRA-455
> URL: https://issues.jboss.org/browse/ARQGRA-455
> Project: Arquillian Graphene
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: core
> Affects Versions: 2.0.3.Final
> Reporter: Juraj Húska
> Assignee: Oliver Kišš
>
> If Graphene is guarding an AJAX request, which {{onload}} callback is JQUery proxy, then it fails. There is a problem with arguments passing.
> *XHR2 request*:
> {code:javascript}
> function makeXHR2() {
> var xhr = new XMLHttpRequest();
> xhr.open("GET", "sample1.html", true);
> xhr.responseType = 'text';
>
> xhr.onload = $.proxy(function (e) {
> switch (e.target.status) {
> case 200:
> console.log('HTTP 200');
> break;
> default:
> console.log('HTTP 500');
> }
>
> var responseContext = {
> }
> }, this);
>
> xhr.send(null);
> }
> {code}
> In browser console there is an error that states:
> {code}
> e.target is undefined
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 4 months
[JBoss JIRA] (ARQGRA-455) Guarded XHR2 request fails when its onload callback is JQuery proxy
by Oliver Kišš (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-455?page=com.atlassian.jira.plugin... ]
Oliver Kišš updated ARQGRA-455:
-------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/arquillian/arquillian-graphene/pull/119
> Guarded XHR2 request fails when its onload callback is JQuery proxy
> -------------------------------------------------------------------
>
> Key: ARQGRA-455
> URL: https://issues.jboss.org/browse/ARQGRA-455
> Project: Arquillian Graphene
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: core
> Affects Versions: 2.0.3.Final
> Reporter: Juraj Húska
> Assignee: Oliver Kišš
>
> If Graphene is guarding an AJAX request, which {{onload}} callback is JQUery proxy, then it fails. There is a problem with arguments passing.
> *XHR2 request*:
> {code:javascript}
> function makeXHR2() {
> var xhr = new XMLHttpRequest();
> xhr.open("GET", "sample1.html", true);
> xhr.responseType = 'text';
>
> xhr.onload = $.proxy(function (e) {
> switch (e.target.status) {
> case 200:
> console.log('HTTP 200');
> break;
> default:
> console.log('HTTP 500');
> }
>
> var responseContext = {
> }
> }, this);
>
> xhr.send(null);
> }
> {code}
> In browser console there is an error that states:
> {code}
> e.target is undefined
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 4 months
[JBoss JIRA] (ARQ-1829) Reporting ScreenshotEntry with phase == onEveryAction is not possible
by Stefan Miklosovic (JIRA)
[ https://issues.jboss.org/browse/ARQ-1829?page=com.atlassian.jira.plugin.s... ]
Stefan Miklosovic updated ARQ-1829:
-----------------------------------
Fix Version/s: recorder_1.0.0.Beta1
> Reporting ScreenshotEntry with phase == onEveryAction is not possible
> ---------------------------------------------------------------------
>
> Key: ARQ-1829
> URL: https://issues.jboss.org/browse/ARQ-1829
> Project: Arquillian
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Extension - Recorder
> Affects Versions: recorder_1.0.0.Alpha4
> Reporter: Juraj Húska
> Assignee: Juraj Húska
> Fix For: recorder_1.0.0.Beta1
>
>
> When I have:
> {code}
> ScreenshotEntry propertyEntry = new ScreenshotEntry();
> propertyEntry.setPhase(When.ON_EVERY_ACTION);
> ...
> propertyReportEvent.fire(new PropertyReportEvent(propertyEntry));
> {code}
> then such a screenshot is not part of the generated report.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 4 months
[JBoss JIRA] (ARQ-1829) Reporting ScreenshotEntry with phase == onEveryAction is not possible
by Stefan Miklosovic (JIRA)
[ https://issues.jboss.org/browse/ARQ-1829?page=com.atlassian.jira.plugin.s... ]
Stefan Miklosovic updated ARQ-1829:
-----------------------------------
Status: Closed (was: Pull Request Sent)
Resolution: Done
> Reporting ScreenshotEntry with phase == onEveryAction is not possible
> ---------------------------------------------------------------------
>
> Key: ARQ-1829
> URL: https://issues.jboss.org/browse/ARQ-1829
> Project: Arquillian
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Extension - Recorder
> Affects Versions: recorder_1.0.0.Alpha4
> Reporter: Juraj Húska
> Assignee: Juraj Húska
> Fix For: recorder_1.0.0.Beta1
>
>
> When I have:
> {code}
> ScreenshotEntry propertyEntry = new ScreenshotEntry();
> propertyEntry.setPhase(When.ON_EVERY_ACTION);
> ...
> propertyReportEvent.fire(new PropertyReportEvent(propertyEntry));
> {code}
> then such a screenshot is not part of the generated report.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 4 months