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 132368

Summary: invalid code with schema extends
Product: ide Reporter: scanti <scanti>
Component: Schema2BeansAssignee: Petr Hejl <phejl>
Status: RESOLVED FIXED    
Severity: blocker CC: jglick, pjiricka
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Reformulated as a patch (original attachment was complete copy of class)

Description scanti 2008-04-08 21:26:05 UTC
When in the schema I use one ComplexType that extends another, the generated code does not compile.
S2B correctly makes the Beans extends its parent beans, but the constructor is wrong.
Comment 1 Jesse Glick 2009-12-17 14:51:22 UTC
*** Bug 157807 has been marked as a duplicate of this bug. ***
Comment 2 Jesse Glick 2009-12-17 14:52:20 UTC
Patch is in duplicate issue. Possible cause of problem in j2ee.geronimo2 mentioned in issue #178426 comment #11.
Comment 3 Jesse Glick 2009-12-17 14:56:25 UTC
Created attachment 92729 [details]
Reformulated as a patch (original attachment was complete copy of class)
Comment 4 Petr Jiricka 2009-12-18 07:07:15 UTC
I am trying out the patch, and one test is failing for me, which was passing before: testWebAppDelegatorBaseBean(). Need to find out what's wrong...
Comment 5 Petr Hejl 2011-10-20 14:34:52 UTC
Already fixed in web-main 41b2fad40787.