Bug 209910 Drag the dataset from library, the resultset column number is doubled
Reproduce step: 1. Create one data set in library. 2. Drag it into a report design. 3. Open the data set editor, switch to the output column page, the result set number is doubled. I found there is something wrong in the org.eclipse.birt.report.model.api.util.CompatibilityUtil class. The method addStructures()will add structures list twice when the propHandle is not local.
data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/impl/MetaDataPopulator.java
/*******************************************************************************
 * Copyright (c) 2004, 2005 Actuate Corporation.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *  Actuate Corporation  - initial API and implementation
 *******************************************************************************/
package org.eclipse.birt.report.data.adapter.impl;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.Iterator;