Summary:
Fix 156497 in branch 2.1.2 -- support
refresh libraries when one library is deleted outside birt designer.
- Bugzilla Bug (s) Resolved: 156497
- Description:
Orignally,
when user deletes a library outside birt designer and click button to refresh libraries,
an Exception will be thrown to
forbid the
re-load library action. Now, the refresh works well. Furthermore, when user
adds the library back and refresh again,
everything
is like what is before the library is deleted.
- Tests Description:
Unit/Manual test
- Notes to Build Team: None
- Notes to Developers: None
- Notes to QA: None
- Notes to Documentation: None
- Files Added:
- Files Edited:
Checking in src/org/eclipse/birt/report/model/elements/TableItem.java;
Checking in src/org/eclipse/birt/report/model/api/ReportElementHandle.java;
Checking in src/org/eclipse/birt/report/model/api/ModuleHandle.java;
Checking in src/org/eclipse/birt/report/model/api/ElementFactory.java;
Checking in src/org/eclipse/birt/report/model/core/DesignElement.java;
Checking in src/org/eclipse/birt/report/model/core/Module.java;
Checking in
src/org/eclipse/birt/report/model/api/command/LibraryReloadedEvent.java;
Checking in src/org/eclipse/birt/report/model/command/LibraryCommand.java;
Checking in src/org/eclipse/birt/report/model/command/LibraryRecord.java;
Checking in src/org/eclipse/birt/report/model/api/elements/table/LayoutTable.java;
Checking in
src/org/eclipse/birt/report/model/api/elements/table/LayoutUtil.java;
Checking in
src/org/eclipse/birt/report/model/api/elements/table/LayoutRow.java;
Checking in
test/org/eclipse/birt/report/model/library/golden/DesignToReloadLibrary_golden_1.xml;
Checking in
src/org/eclipse/birt/report/model/parser/ReportElementState.java;
Checking in src/org/eclipse/birt/report/model/parser/OverriddenValuesState.java;
Checking in
src/org/eclipse/birt/report/model/util/ElementStructureUtil.java;
Checking in src/org/eclipse/birt/report/model/util/ModelUtil.java;
Checking in
test/org/eclipse/birt/report/model/library/DesignLoadLibraryTest.java;