Bug 155637 Extended report parameter is localized after being referred by a data set parameter
Steps to reproduce: 1.New a library, add a sample data source and a data set from table "CUSTOMERS" 2.Add a dynamic report parameter "a" referring to data set column "CUSTOMERNUMBER" 3.New a report, includes the library, extends lib.a 4.Add a sample data source in report and a data set with below query: select * from CLASSICMODELS.CUSTOMERS where CLASSICMODELS.CUSTOMERS.CUSTOMERNUMBER = ? 5.Switch to data set parameters, set linked to report parameter "a" 6.Click "ok" to finish editing data set 7.Switch to "XML Source" Actual result: Extended report parameter is localized with some local properties
model/org.eclipse.birt.report.model.adapter.oda/src/org/eclipse/birt/report/model/adapter/oda/ReportParameterAdapter.java
String defaultValue = elementAttrs.getDefaultScalarValue( );
		String cachedDefaultValue = cachedElementAttrs == null
				? null
				: cachedElementAttrs.getDefaultScalarValue( );
		if ( cachedDefaultValue == null
				|| !cachedDefaultValue.equals( defaultValue ) )
		{
			
			if ( !DataSetParameterAdapter.BIRT_JS_EXPR.equals( defaultValue ) )
				reportParam.setDefaultValue( defaultValue );
		}
		
		Boolean isOptional = Boolean.valueOf( elementAttrs.isOptional( ) );
		Boolean cachedIsOptional = cachedElementAttrs == null ? null : Boolean
				.valueOf( cachedElementAttrs.isOptional( ) );
		if ( cachedIsOptional == null || !cachedIsOptional.equals( isOptional ) )
			reportParam.setAllowBlank( isOptional.booleanValue( ) );
		
		Boolean masksValue = Boolean.valueOf( elementAttrs.isMasksValue( ) );
		Boolean cachedMasksValues = cachedElementAttrs == null ? null : Boolean
				.valueOf( cachedElementAttrs.isMasksValue( ) );
		if ( cachedMasksValues == null
				|| !cachedMasksValues.equals( masksValue ) )
			reportParam.setConcealValue( masksValue.booleanValue( ) );
		updateROMSelectionList( elementAttrs.getStaticValueChoices( ),
				cachedElementAttrs == null ? null : cachedElementAttrs
						.getStaticValueChoices( ), reportParam );
		updateROMDyanmicList( elementAttrs.getDynamicValueChoices( ),
				cachedElementAttrs == null ? null : cachedElementAttrs
						.getDynamicValueChoices( ), reportParam );