Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Invalid
-
2.0
-
None
Description
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