Bug 206285 Rename the report contain parameter will lead to the report cannot be preview[0705]
Description: Rename the report will lead to the report cannot be preview[0705] Step: 1. New a report contain a parameter named R1. 2. Preview it. 3. Rename the report as R2 4. Preview it again. Actual result: Step 2 is ok. But the step 4 will pop up an error and said that the report does not exist or contains errors. Expected result: The report can be preview when rename it.
UI/org.eclipse.birt.report.designer.ui.preview.web/src/org/eclipse/birt/report/designer/ui/preview/editors/ReportPreviewFormPage.java
Iterator it = handle.configVariablesIterator( );
					while ( it != null && it.hasNext( ) )
					{
						ConfigVariableHandle configVar = (ConfigVariableHandle) it
								.next( );
						if ( configVar != null && configVar.getName( ) != null )
						{
							String varName = prepareConfigVarName( configVar
									.getName( ) );
							
							String paramName = getParameterName( varName );
							
							ScalarParameterHandle parameter = findParameter( paramName );
							if ( parameter != null )
							{
								
								String typeVarName = varName + "_" 
										+ PROP_TYPE + "_"; 
								ConfigVariable typeVar = handle
										.findConfigVariable( typeVarName );
								String dataType = null;
								if ( typeVar != null )
									dataType = typeVar.getValue( );
								
								if ( dataType == null
										|| !dataType
												.equalsIgnoreCase( parameter
														.getDataType( ) ) )
									continue;