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 - invalid code with schema extends
Summary: invalid code with schema extends
Status: RESOLVED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: Schema2Beans (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker with 1 vote (vote)
Assignee: Petr Hejl
URL:
Keywords:
: 157807 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-04-08 21:26 UTC by scanti
Modified: 2011-10-20 14:34 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Reformulated as a patch (original attachment was complete copy of class) (866 bytes, patch)
2009-12-17 14:56 UTC, Jesse Glick
Details | Diff

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