Project: Birt
Bug 147669 Allow editing of a report design that contains reference to non-existing ODA extension
Reported: 2006-06-18 13:06:55 | Status: resolved fixed

I occasionally need to open BIRT report designs received from the customers which contains data sources that reference proprietary ODA data sources. As it is right now, such report designs would fail to open in BIRT(since I don't have the ODA extension), which displays the following error message: Unable to create this part due to an internal error. Reason for the failure: The extension with ID 'xxxx' is not found. Further editting of the design with BIRT report designer is not possible. I would then have to open the design in a text editor and remove the offending data source/data sets before I can open them in BIRT to look at the report structure. You can reproduce this with the attached report design. It will be desirable for BIRT to be able to open such a report design to allow the user to fix the data source/data set problems within the editor.

Files changed in fix:
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/elements/OdaDataSet.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/elements/OdaDataSource.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/extension/oda/OdaDummyProvider.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/parser/ListPropertyState.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/parser/OdaDataSetState.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/parser/OdaDataSourceState.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/plugin/ODAManifestUtil.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/writer/ModuleWriter.java