Bug 179888 The x-tab in library can not be used in report design when a x-tab exist in that report design[1102]
Description: The x-tab in library can not be used in report design when a x-tab exist in that report design[1102] Build number: 2.2.0.v20070329-0630 Steps to reproduce: 1, New a cube and x-tab in library 2, New a cube and x-tab in report 3, Using the x-tab from library in report Expected result: The x-tab can be used from library Actual result: No effact after dragging the x-tab from library explorer Error log:
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/extension/PeerExtensionTest.java
import org.eclipse.birt.report.model.api.metadata.PropertyValueException;
import org.eclipse.birt.report.model.api.olap.CubeHandle;
import org.eclipse.birt.report.model.elements.ExtendedItem;
import org.eclipse.birt.report.model.elements.TableItem;
import org.eclipse.birt.report.model.elements.interfaces.IImageItemModel;
import org.eclipse.birt.report.model.elements.interfaces.IStyleModel;
import org.eclipse.birt.report.model.i18n.ThreadResources;
import org.eclipse.birt.report.model.metadata.ElementDefn;
import org.eclipse.birt.report.model.metadata.ElementRefValue;
import org.eclipse.birt.report.model.metadata.ExtensionElementDefn;
import org.eclipse.birt.report.model.metadata.ExtensionPropertyDefn;
import org.eclipse.birt.report.model.metadata.MetaDataDictionary;
import org.eclipse.birt.report.model.metadata.PropertyDefn;
import org.eclipse.birt.report.model.metadata.PropertyType;
import org.eclipse.birt.report.model.util.BaseTestCase;
import com.ibm.icu.util.ULocale;
/**
 * New cases for report item extension should be added here.
 * <p>
 * Tests the cases for the peer extension enhancement: slot definition.
 */
public class PeerExtensionTest extends BaseTestCase
{
	protected static final String HEADER_PROP = "header"; 
	protected static final String DETAIL_PROP = "detail"; 
	protected static final String FOOTER_PROP = "footer"; 
	protected static final String TESTING_BOX_NAME = "TestingBox"; 
	private static final String FILE_NAME = "PeerExtensionTest.xml"; 
	private static final String FILE_NAME_1 = "PeerExtensionTest_1.xml"; 
	private static final String FILE_NAME_2 = "PeerExtensionTest_2.xml";