Bug 168381 Table from library has errors when the report is inside a folder.[01][0001]
Description: Table from library displays errors when the report is inside a folder. Build number:2.1.2.v20061218 and 2.2.0.v20061216 Steps to reproduce: 1. New a library file with datasource, dataset and table. 2. New a folder under the project, and then new a report inside the folder. 3. Drag the table from libray to the report, save and close the report. 4. Reopen the report. Expected result: Show table item in Layout. Actual result: A red box with error message inside as attached. Error log:N/A
UI/org.eclipse.birt.report.designer.core/src/org/eclipse/birt/report/designer/core/model/SessionHandleAdapter.java
import java.util.WeakHashMap;
import org.eclipse.birt.report.designer.core.util.mediator.ReportMediator;
import org.eclipse.birt.report.designer.util.DEUtil;
import org.eclipse.birt.report.model.api.CommandStack;
import org.eclipse.birt.report.model.api.DesignConfig;
import org.eclipse.birt.report.model.api.DesignEngine;
import org.eclipse.birt.report.model.api.DesignFileException;
import org.eclipse.birt.report.model.api.MasterPageHandle;
import org.eclipse.birt.report.model.api.ModuleHandle;
import org.eclipse.birt.report.model.api.SessionHandle;
import org.eclipse.birt.report.model.api.SimpleMasterPageHandle;
import org.eclipse.birt.report.model.api.SlotHandle;
import org.eclipse.birt.report.model.api.activity.SemanticException;
import org.eclipse.birt.report.model.api.command.ContentException;
import org.eclipse.birt.report.model.api.command.NameException;
import org.eclipse.birt.report.model.api.core.DisposeEvent;
import org.eclipse.birt.report.model.api.core.IDisposeListener;
import org.eclipse.birt.report.model.api.metadata.IMetaDataDictionary;
import com.ibm.icu.util.ULocale;
/**
 * Adapter class to adpat model handle. This adapter provides convenience
 * methods to GUI requirement SessionHandleAdapter responds to model
 * SessionHandle
 * 
 */
/**
 * @author Actuate
 *
 */
public class SessionHandleAdapter