This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 70716

Summary: Adding a cmr field can make a project unverifiable
Product: serverplugins Reporter: Vince Kraemer <vkraemer>
Component: CodeAssignee: Vince Kraemer <vkraemer>
Status: RESOLVED WORKSFORME    
Severity: blocker CC: raccah
Priority: P2    
Version: 5.x   
Hardware: Sun   
OS: Solaris   
Issue Type: DEFECT Exception Reporter:
Attachments: the schema

Description Vince Kraemer 2005-12-21 21:41:02 UTC
Found in trunk. probably in release50 (my release50 branch build is running at
the moment)

steps:

1. start ide with new userdir
2. register sjsas 8.2 [I used promoted build 4]
3. Create an EJB module project (accepting all defaults).
4. Create a complete set of CMP beans from the attached dbschema file.
5. Build and verify
  It is OKAY.
6. Open the ejb-jar.xml editor.
7. Select the relationships "view"
8. add a relationship that follows this "screen shot"

Releationship name: ca1mua
Description: -- leave blank --

Entity Bean: CBean        Entity Bean: ABean
Role Name: -- blank --    Role Name: -- blank --

uncheck Cascade Delete    uncheck Cascade Delete
uncheck Create CMR        check Create CMR Field

Field Name: -- blanlk --  Field Name: ca1muC

(accept additional defaults)

9. Clean and Build
10. run the verifier
  The module doesn't verify.
Comment 1 Vince Kraemer 2005-12-21 21:41:56 UTC
Created attachment 28025 [details]
the schema
Comment 2 Vince Kraemer 2005-12-21 21:51:15 UTC
Running the "real" verifier from the app server installation says the module is
OKAY.

So, I am going to transfer this to serverplugins/sunappserv8
Comment 3 Vince Kraemer 2006-01-03 02:53:17 UTC
This is working now...  in the release50 branch.

Tested in recent pull of the release50 branch
Comment 4 Vince Kraemer 2006-01-03 05:50:56 UTC
This is also working in the trunk based on a recent update.