Project: Birt
Bug 298146 Provide warning message if cube binding doesn't exist when changing cube in chart builder
Reported: 2009-12-18 01:52:03 | Status: closed fixed

Description: Provide warning message if cube binding doesn't exist when changing cube in chart builder Build number: 2.6.0.v200901218-0630 Steps to reproduce: 1, New a chart binding with cube which has COUNTRY dimension 2, New another cube without COUNTRY dimension 3, Edit the chart and binding to cube2 Expected result: In step3, the binding data["COUNTRY"] doesn't exist in CUBE2, but no warning message to indicate this. Suggest to provide error message, or throw proper exception when preview report Error log:

Files changed in fix:
chart/org.eclipse.birt.chart.reportitem/src/org/eclipse/birt/chart/reportitem/BIRTCubeResultSetEvaluator.java chart/org.eclipse.birt.chart.reportitem/src/org/eclipse/birt/chart/reportitem/SharedCubeResultSetEvaluator.java