Bug 121003 Data source property binding error
When there are two data source property binding, the second binding cannot be set.The exception will be reported: org.eclipse.birt.report.model.api.metadata.PropertyValueException: The value "odaDataSource" already exists. at org.eclipse.birt.report.model.api.validators.StructureListValidator.doCheckStructureList(StructureListValidator.java:223) at org.eclipse.birt.report.model.api.validators.StructureListValidator.validateForAdding(StructureListValidator.java:96) at org.eclipse.birt.report.model.core.DesignElement.checkStructureList(DesignElement.java:2642) at org.eclipse.birt.report.model.command.PropertyCommand.addItem(PropertyCommand.java:444) at org.eclipse.birt.report.model.api.DesignElementHandle.setPropertyBinding(DesignElementHandle.java:2086) at org.eclipse.birt.report.designer.internal.ui.dialogs.DataSourcePropertyBindingPage.performOk(DataSourcePropertyBindingPage.java:192)
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/validators/StructureListValidator.java
PropertyDefn uniqueMember = null;
		Iterator iter = propDefn.getStructDefn( ).getPropertyIterator( );
		while ( iter.hasNext( ) )
		{
			PropertyDefn memberDefn = (PropertyDefn) iter.next( );
			if ( memberDefn.getTypeCode( ) == PropertyType.NAME_TYPE )
			{
				uniqueMember = memberDefn;
				break;
			}
		}
		HashSet values = new HashSet( );
		
		
		for ( int i = 0; i < list.size( ); i++ )
		{
			Structure struct = (Structure) list.get( i );
			if ( checkList )
				errorList.addAll( struct.validate( module, element ) );
			if ( uniqueMember != null )
			{
				String value = (String) struct.getProperty( module,
						uniqueMember );
				if ( values.contains( value ) )
				{
					if ( checkList )