You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Dain Sundstrom (JIRA)" <ji...@apache.org> on 2006/12/21 04:41:21 UTC

[jira] Closed: (OPENEJB-45) create() of a CMP bean doesn't create an instance

     [ http://issues.apache.org/jira/browse/OPENEJB-45?page=all ]

Dain Sundstrom closed OPENEJB-45.
---------------------------------

    Resolution: Invalid

I'm sure this was fixed long ago.

> create() of a CMP bean doesn't create an instance
> -------------------------------------------------
>
>                 Key: OPENEJB-45
>                 URL: http://issues.apache.org/jira/browse/OPENEJB-45
>             Project: OpenEJB
>          Issue Type: Bug
>          Components: container system
>    Affects Versions: 2.0
>            Reporter: Jacek Laskowski
>            Priority: Blocker
>             Fix For: 2.0
>
>
> When a CMP declares parameterless create() method no instance is created. There's a testcase that shows the issue. It prevents PetStore 1.3.2 from running successfully onto Geronimo.
> To execute the testcase and see the issue do the following:
>  1. Make sure you've got the recent OpenEJB sources
>  2. Remove 'BUG_' from the method names of org.openejb.test.entity.cmp2.PetstoreTests
>      + BUG_test01_create()
>      + BUG_test02_setterAfterCreate()
>  3. Go to modules/itests directory
>  4. Run itests
>      maven -Dmaven.itest.includes=**/Cmp2TestSuite.java
>  5. Look at target/itest-reports/TEST-org.openejb.test.entity.cmp2.Cmp2TestSuite.txt
> See http://docs.openejb.org/Creating+itests for more information about OpenEJB itests module and how to create and run EJB tests

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