Bug 151552 Can't change the Data Set of a chart drag from a library
After creating a library with a chart,you use it and drag the chart to a report design.A error happen when you change the Data Set of the chart. 1.creat a library,add a chart into it ,then publish the library. 2.new a report and use the library ,drag the chart into the layout of the report,you can't change the data set of the chart,or a error will occur. Actual result:A error occur when you change the data set] Expected result:You can change the data set.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/core/PropertySearchStrategy.java
/**
	 * Returns the property value which is related to element selector. It is
	 * from the selector style.
	 * 
	 * @param module
	 *            the module
	 * @param element
	 *            the element to start search
	 * @param prop
	 *            the definition of property
	 * @return the property value, or null if no value is set.
	 */
	protected Object getPropertyFromSelfSelector( Module module,
			DesignElement element, ElementPropertyDefn prop )
	{
		String selector = ( (ElementDefn) element.getDefn( ) ).getSelector( );
		return getPropertyFromSelector( module, prop, selector );
	}
	/**
	 * Returns the property value which is related to slot selector. It is from
	 * the selector style which represents the slot or combination of container
	 * and slot.
	 * 
	 * @param module
	 *            the module
	 * @param element
	 *            the element to search
	 * @param prop
	 *            the definition of property
	 * @return the property value, or null if no value is set.