Bug 168148 [regression]Table with chart from library fails to preview.[01][0001]
Description: Table with chart from library fails to preview. Build number:2.1.2.v20061215 and 2.2.0.v20061213 Steps to reproduce: 1.Create a library, create a sample DB data source and data set: select * from orders 2.Insert a tabel to the library, bind data set to the table 3.Insert a group for the tabel ,group by "row["OrderDate"]", Interval: Year, Range:1 4.Drag a chart into 3rd cell on group row, bar chart, go to "Select Data" tab , bind data set, X Series:row["OrderDate"], Y Series:row["OrderNumger"]; click "Finish" button 5.Create a new report, use the library 6.Drag the table in the library to the report. 7.Preview in html. Expected Result: Report content displays without errors. Actual result: Error happened while running the report.(same for 2.1.2 and 2.2.0) Error log: org.eclipse.birt.report.service.api.ReportServiceException: Error happened while running the report
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/extension/PeerExtensibilityProvider.java
* extension properties and extension model in extension definition file. The
 * extension element has its own display name, and attributes, which makes it
 * looks like a new element. However, the extension element is based on the
 * <code>ReportItem</code>, which Model defines, and can have style
 * properties. The extension element can define two type of properties:
 * <ul>
 * <li>The Extension Property - It is also defined in extension definition
 * file. It provides the name, data type, display name key and so on, as the
 * system property works for the Model-defined element.
 * <li>The Extension Model Property - It is defined by {@link IReportItem},
 * instead in extension definition file. <code>IReportItem</code> defines its
 * own dynamic model. The extension model property definition is defined by
 * {@link IPropertyDefinition}. The dynamic model means the extension element
 * can switch from one set of extension model properties to another under some
 * case. They can be serialized to an XML-type extension property when saving to
 * design file, and deserialized from this XML-type extension property when
 * loading design file.
 * </ul>
 * 
 */
public class PeerExtensibilityProvider extends ModelExtensibilityProvider
{
	/**
	 * Peer element for the extension. It is created when the application
	 * invokes UI for the item.
	 */
	IReportItem reportItem = null;
	/**
	 * Cached property values for extension properties, which is defined in
	 * extension definition file.