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 instance of <code>PropertySearchStrategy</code> which
	 * provide the specific property searching route for most design elements.
	 * 
	 * @return the instance of <code>PropertySearchStrategy</code>
	 */
	public static PropertySearchStrategy getInstance( )
	{
		return instance;
	}
	/**
	 * Gets a property value given its definition. This version does the
	 * property search with style reference, extends reference and containment.
	 * The default value style property defined in session is also searched, but
	 * the default value defined in ROM will not be returned.
	 * 
	 * @param module
	 *            the module
	 * @param element
	 *            the element to start search
	 * @param prop
	 *            definition of the property to get
	 * @return The property value, or null if no value is set.
	 */
	public Object getPropertyExceptRomDefault( Module module,
			DesignElement element, ElementPropertyDefn prop )
	{
		if ( prop.isIntrinsic( ) )
		{