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/src/org/eclipse/birt/report/model/api/ElementFactory.java
* 
	 * @param baseElement
	 *            the base element.
	 * @param name
	 *            the optional new element name
	 * @return the handle to the new element.
	 * @throws ExtendsException
	 *             if the the base element is in a library that is not included
	 *             in this module, or if the "extends" relationship is illegal
	 */
	public DesignElementHandle newElementFrom( DesignElementHandle baseElement,
			String name ) throws ExtendsException
	{
		if ( baseElement == null )
			return null;
		
		if ( baseElement.getRoot( ).getElement( ) == module )
			return newElementFrom( name, baseElement );
		
		
		Module root = (Module) baseElement.getRoot( ).getElement( );
		if ( root instanceof Library )
		{
			
			Library lib = module.getLibraryByLocation( root.getLocation( ) );
			if ( lib == null )
			{
				throw new InvalidParentException(
						null,
						baseElement.getElement( ),