Project: Birt
Bug 153412 Change parameter type will cause preview fail
Reported: 2006-08-10 05:20:04 | Status: closed fixed

Description: Change parameter type will cause preview fail Steps to reproduce: 1. New a report paramter, string, text-box, default value is abc. 2. Drag the parameter to Layout and preview. 3. Change the parameter's type to integer, list-box, add a value 1 4. Preview Expected result: No errors. Actual result: The value "abc" is invalid with the type "integer".

Files changed in fix:
UI/org.eclipse.birt.report.designer.ui.preview/src/org/eclipse/birt/report/designer/ui/preview/editors/ReportPreviewFormPage.java viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/IBirtConstants.java viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/context/ViewerAttributeBean.java viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/actionhandler/BirtCacheParameterActionHandler.java