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
return parameter;
	}
	/**
	 * If miss parameter.
	 * 
	 * @return boolean
	 */
	public boolean isMissingParameter( )
	{
		boolean missingParameter = false;
		ModuleHandle model = SessionHandleAdapter.getInstance( )
				.getReportDesignHandle( );
		HashMap params = (HashMap) this.getConfigVars( );
		List parameters = model.getFlattenParameters( );
		if ( parameters != null )
		{
			for ( int i = 0; i < parameters.size( ); i++ )
			{
				if ( parameters.get( i ) instanceof ScalarParameterHandle )
				{
					ScalarParameterHandle parameter = ( (ScalarParameterHandle) parameters
							.get( i ) );
					if ( parameter.isHidden( ) || !parameter.isRequired( ) )
					{
						continue;
					}
					if ( params == null )
					{
						missingParameter = true;
						break;