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: | IAE thrown from BeanProp | ||
---|---|---|---|
Product: | ide | Reporter: | Martin Adamek <madamek> |
Component: | Schema2Beans | Assignee: | schema2beans-issues@ide <schema2beans-issues> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | pjiricka |
Priority: | P1 | ||
Version: | 5.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
Thrown exception
Schema with problematic attributes Very primitive patch for inspiration. It handles this particular problem, but it's not systematic enough. |
Description
Martin Adamek
2006-02-15 09:27:27 UTC
Created attachment 28887 [details]
Thrown exception
Created attachment 28888 [details]
Schema with problematic attributes
Created attachment 28889 [details]
Very primitive patch for inspiration. It handles this particular problem, but it's not systematic enough.
The determination of whether or not something gets renamed (a number gets appended) is made in BeanBuilder.java. For attributes, it's in addAttrProp around line 481. It has access to the AttrProp and probably should change the name in the AttrProp after determining that the property should get renamed. Fixed. Checking in BeanBuilder.java; /cvs/schema2beans/dev/src/org/netbeans/modules/schema2beansdev/BeanBuilder.java,v <-- BeanBuilder.java new revision: 1.42.24.1; previous revision: 1.42 done |