[jboss-jira] [JBoss JIRA] Commented: (EJBTHREE-2076) Regression in org.jboss.ejb3.test.ejbcontext.unit/EjbContextUnitTestCase/testStatelessInvokedBusinessInterface/

Andrew Lee Rubinger (JIRA) jira-events at lists.jboss.org
Tue Apr 13 00:27:06 EDT 2010


    [ https://jira.jboss.org/jira/browse/EJBTHREE-2076?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12525258#action_12525258 ] 

Andrew Lee Rubinger commented on EJBTHREE-2076:
-----------------------------------------------

Integration will require bringing in new ejb3-core and ejb3-context

> Regression in org.jboss.ejb3.test.ejbcontext.unit/EjbContextUnitTestCase/testStatelessInvokedBusinessInterface/
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: EJBTHREE-2076
>                 URL: https://jira.jboss.org/jira/browse/EJBTHREE-2076
>             Project: EJB 3.0
>          Issue Type: Bug
>            Reporter: Andrew Lee Rubinger
>            Assignee: Andrew Lee Rubinger
>
> http://jboss.hudson.alrubinger.com/job/EJB3_Integration_TestSuite_AS_TRUNK/lastBuild/testReport/org.jboss.ejb3.test.ejbcontext.unit/EjbContextUnitTestCase/testStatelessInvokedBusinessInterface/
> junit.framework.AssertionFailedError: EJB 3.0 4.5.2 getInvokedBusinessInterface is illegal when bean is invoked through 2.1 view
> 	at org.jboss.ejb3.test.ejbcontext.unit.EjbContextUnitTestCase.testStatelessInvokedBusinessInterface(EjbContextUnitTestCase.java:144)
> 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
> 	at junit.extensions.TestSetup.run(TestSetup.java:27)
> With the removal of "isBusinessInterface" checks within the container we need to know when to throw EJBException when SessionContext.getInvokedBusinessInterface is called from outside an EJB3.x view.  Cache the BIs at deployment time and only do a lookup, not a full inspection upon metadata, during invocation.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list