Project: Birt
Bug 276218 Check the theme extended from library if library namespace is changed
Reported: 2009-05-13 21:57:20 | Status: verified fixed

Description: For report item extended from library, if the namespace is changed I can find a error message in XML Source that told me parent element xxx.table does not exist. But for theme which is extended from library, if the namespace is changed I can not see the error message like other report item. Build number: 2.5.0.v20090514-0630 Steps to reproduce: 1, New theme in libA.rptlibrary 2, New a report and extend the theme in libA and the namespace of libA.rptlibrary is libA 3, Change namespace of libA to libB Expected result: After step3, I can get a error message which said libA.theme does not exist but not left it as a valid theme, actually it won't work anymore.

Files changed in fix:
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/core/DesignElementCloneTest.java model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/library/LibraryThemeTest.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/validators/ThemeReferenceValidator.java