Project: Birt
Bug 199028 A problem with dataset valid check
Reported: 2007-08-07 05:05:16 | Status: closed fixed

Description: There is a sample datasource and dataset, delete the datasource, the dataset will be invalid. Then create a datasource like the previous one, the dataset still does not work. Build version:2.2.0.v20070807-0630 Steps to reproduce: 1. Create a sample datasource and dataset. 2. Delete the datasource, and the dataset will be invalid. 3. Create a sample datasource again, with the same name as the deleted one. 4. Double click on the dataset, error pops "The datasource of this dataset is missing". Expected result: The dataset shall be refer to the same name datasource. Actual result: If remove a datasource, the related datasets will not workable and repairable.

Files changed in fix:
UI/org.eclipse.birt.report.designer.ui.views/src/org/eclipse/birt/report/designer/internal/ui/views/data/providers/DataSetNodeProvider.java UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/dialogs/DataSourceSelectionDialog.java