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 - Adding a cmr field can make a project unverifiable
Summary: Adding a cmr field can make a project unverifiable
Status: RESOLVED WORKSFORME
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: Sun Solaris
: P2 blocker (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-21 21:41 UTC by Vince Kraemer
Modified: 2006-01-24 13:39 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
the schema (152.02 KB, text/xml)
2005-12-21 21:41 UTC, Vince Kraemer
Details

Note You need to log in before you can comment on or make changes to this bug.
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.