Summary:
Fix 156497 -- 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
test/org/eclipse/birt/report/model/library/DesignLoadLibraryTest.java;
Checking in
src/org/eclipse/birt/report/model/api/command/LibraryReloadedEvent.java;
Checking in src/org/eclipse/birt/report/model/api/ModuleHandle.java;
Checking in
test/org/eclipse/birt/report/model/library/golden/DesignToReloadLibrary_golden_1.xml;
Checking in src/org/eclipse/birt/report/model/core/Module.java;
Checking in src/org/eclipse/birt/report/model/command/LibraryRecord.java;
Checking in src/org/eclipse/birt/report/model/command/LibraryCommand.java;