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.
Summary: | JSF pages from entities generates invalid code | ||
---|---|---|---|
Product: | javaee | Reporter: | Erno Mononen <emononen> |
Component: | JSF | Assignee: | Petr Pisl <ppisl> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | kganfield, pjiricka |
Priority: | P2 | ||
Version: | 5.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | proposed patch |
Description
Erno Mononen
2006-11-24 17:06:36 UTC
Created attachment 36575 [details]
proposed patch
Attached is a patch for this issue. The patch adds a call to em. joinTransaction() after the user transaction has started. The fix is ok for me. Fixed in release55 branch. http://web.netbeans.org/source/browse/web/jsf/src/org/netbeans/modules/web/jsf/wizards/JSFClinetGenerator.java?r1=1.1.2.47&r2=1.1.2.48 Verified in 5.5 continuous build1220-1213. Reverted the previous commit in release55 branch. http://web.netbeans.org/source/browse/web/jsf/src/org/netbeans/modules/web/jsf/wizards/JSFClinetGenerator.java?r1=1.1.2.48&r2=1.1.2.49 The patch in desc2 contains a typo, the actual patch that was verified in release55 branch is the one linked from desc5. Verified in 5.5 continuous build1220-1213. Fixed in release551 branch. Checking in JSFClinetGenerator.java; /cvs/web/jsf/src/org/netbeans/modules/web/jsf/wizards/ JSFClinetGenerator.java,v <-- JSFClinetGenerator.java new revision: 1.1.2.47.8.1; previous revision: 1.1.2.47 done *** Issue 104301 has been marked as a duplicate of this issue. *** verified Product Version: NetBeans IDE Dev (Build 200811011401) Java: 1.6.0_10-rc2; Java HotSpot(TM) Client VM 11.0-b15 System: Linux version 2.6.24-21-generic running on i386; UTF-8; en_US (nb) |