Summary:
Bugzilla Bug 123966 BIRT designer became very slow/hang after opening a report
which included non-existed library.
After the discussion, the
solution related to Model part is:
If the compound element can’t give the extend element, the
design file can still be open. But we will add to a API on ReportElementHandle
to indicate whether the element lost reference.
Description:
1. Add isValidReferenceForCompoundElement() on ReportElementHandle.
2. Added test cases.
- Tests Description :
- Files Edited:
"/org.eclipse.birt.report.model/test/org/eclipse/birt/report/model/library/DesignLoadLibraryTest.java"
"/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/ReportElementHandle.java"
"/org.eclipse.birt.report.model/test/org/eclipse/birt/report/model/library/input/DesignWithInexistentLibrary.xml"
"/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/parser/ReportElementState.java"
"/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/command/ContentCommand.java"
"/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/core/DesignElement.java"
- Files Added:
- Notes to Build Team:
- Notes to Developers:
- Notes to QA:
- Notes to Documentation:
Rick Lu
Actuate Shanghai Center.
Email: rlu@xxxxxxxxxxx
Phone: 86 21 58826388
Fax: 86 21 58826002