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
errorList
								.add( new PropertyValueException(
										element,
										propDefn,
										value,
										PropertyValueException.DESIGN_EXCEPTION_VALUE_EXISTS ) );
				}
				else
				{
					values.add( value );
				}
			}
		}
		
		
		
		if ( uniqueMember != null && toAdd != null )
		{
			String value = (String) toAdd.getProperty( module, uniqueMember );
			if ( values.contains( value ) )
			{
				errorList.add( new PropertyValueException( element, propDefn
						.getName( ), value,
						PropertyValueException.DESIGN_EXCEPTION_VALUE_EXISTS ) );
			}
		}
		return errorList;
	}
}