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 129290 - JSF Pages from Entity Classes allow using invalid entity class for wizard
Summary: JSF Pages from Entity Classes allow using invalid entity class for wizard
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: JSF (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Matthew Bohm
URL:
Keywords:
: 129291 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-03-05 13:55 UTC by Dan Kolar
Modified: 2016-07-07 08:55 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Kolar 2008-03-05 13:55:23 UTC
Product Version: NetBeans IDE Dev (Build 200803021202)
Java: 1.6.0_05; Java HotSpot(TM) Client VM 10.0-b19
System: Windows XP version 5.1 running on x86; Cp1250; cs_CZ (nb)

1) Create new webproject
2) Create persistence unit on it
3) Create new entity class on it
4) Add 'final' before some getter
5) Invoke JSF Pages ... on project

Entity class is shown as valid for wizard, but it shouldn't, as in definition "The class must not be declared final. No
methods or persistent instance variables must be declared final."
Comment 1 Matthew Bohm 2008-03-05 19:30:57 UTC
With many other fixes left to do on this feature, I do not think entity validation should be in scope for this release,
unless time permits. Therefore, marking as future for now.
Comment 2 Jan Horvath 2008-03-21 23:25:57 UTC
Entity validation is done in the editor. It is not necessary to check the class again.
Comment 3 Jan Horvath 2008-03-21 23:27:37 UTC
*** Issue 129291 has been marked as a duplicate of this issue. ***
Comment 4 Matthew Bohm 2008-03-22 06:13:54 UTC
Does that mean this issue is invalid? In any case, it is out of scope for this release. But what should the behavior be
if an entity class has problems? Should the wizard not recognize it as an entity class, or is the current behavior
sufficient?
Comment 5 Martin Balin 2016-07-07 08:55:49 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss