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 122824 - [60cat] Inconsistent warning message upon creating entities in Entity Class and Entity Class from Database wizards
Summary: [60cat] Inconsistent warning message upon creating entities in Entity Class a...
Status: RESOLVED DUPLICATE of bug 84484
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P4 blocker (vote)
Assignee: Andrei Badea
URL: http://j2ee.netbeans.org/docs/promog/...
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-27 09:03 UTC by jlaskowski
Modified: 2008-07-25 23:22 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jlaskowski 2007-11-27 09:03:20 UTC
[ BUILD # : 200711201000 ]
[ JDK VERSION : 1.6.0_02 ]

Steps to reproduce:
1/ Use New > Entity Class menu and upon filling in the Package field,
the warning message: "The project does not have a persistence unit.
You need a persistence unit to persist entity classes" is displayed
with the exclamation mark icon *below* the Create Persistence Unit
button.

2/ use New > Entity Class from Database menu and in Entity Classes
panel, the warning message: "The project does not have a persistence
unit. You need a persistence unit to persist entity classes" is
displayed *without* the exclamation mark icon *above* the Create
Persistence Unit button.
Comment 1 John Baker 2007-11-27 18:05:34 UTC
looks like JPA issue
Comment 2 Andrei Badea 2007-11-28 10:15:30 UTC
See UI spec.
Comment 3 Erno Mononen 2007-12-04 10:43:14 UTC
So according to the spec the warning icon is missing from the Entities from DB wizard and in the Entity Wizard the 
warning should be displayed above the button. Need to add a label for the warning to the EW panel as now the warning 
is set to the underlying wizard descriptor. Anyway, I'm lowering this to P4 as per the priority guidelines (minor 
usability problem). Thanks for reporting.
Comment 4 Dongmei Cao 2008-07-25 23:22:48 UTC

*** This issue has been marked as a duplicate of 84484 ***