Bug 199537 Fail to display data in Web viewer[0002]
Description: Fail to display data in Web viewer Build number:2.2.1.v200708101407 Steps to reproduce: 1. Preview attached report in Web Viewer. Expected result: Display data. Actual result: No data. Error log:n/a
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/util/ReportDesignSerializer.java
DesignElement newElement )
	{
		Iterator iter = null;
		DesignElement current = null;
		if ( !element.isVirtualElement( ) )
		{
			current = element.getExtendsElement( );
			while ( current != null )
			{
				if ( current.hasUserProperties( ) )
				{
					iter = current.getLocalUserProperties( ).iterator( );
					while ( iter.hasNext( ) )
					{
						UserPropertyDefn uDefn = (UserPropertyDefn) iter.next( );
						if ( element
								.getLocalUserPropertyDefn( uDefn.getName( ) ) != null )
							continue;
						newElement
								.addUserPropertyDefn( (UserPropertyDefn) uDefn
										.copy( ) );
					}
				}
				current = current.getExtendsElement( );
			}
		}
	}
	/**
	 * Copies all values from element to newElement. Structure, element
	 * reference values, etc. are dumped as a new copy.