Bug 155751 [regression]Nothing displayed when drag report items from a old library to a report layout
Nothing displayed when drag report items from a old library to a report layout Steps to reproduce: 1.new a report and use a old library in outline view 2.Drag table,label,text,chart all to the report layout 3.Nothing displayed when previewed Expected result: Items can be diplayed properly' Actual result: Items weren't displayed when drag report items from a old library to a report layout while displayed well when drag report items from a new library to a report layout
viewer/org.eclipse.birt.report.viewer/src/org/eclipse/birt/report/viewer/utilities/WebViewer.java
String resourceFolder = (String) params.get( RESOURCE_FOLDER_KEY );
		return createURL( servletName, report, format, true, resourceFolder );
	}
	/**
	 * Create web viewer url to run the report.
	 * 
	 * @param servletName
	 *            servlet name to viewer report
	 * @param report
	 *            report file name
	 * @param format
	 *            report format
	 * @param resourceFolder
	 *            the resource folder
	 * @return valid web viewer url
	 */
	private static String createURL( String servletName, String report,
			String format, boolean inDesigner, String resourceFolder )
	{
		String encodedReportName = null;
		try
		{
			encodedReportName = URLEncoder.encode( report, "utf-8" ); 
		}
		catch ( UnsupportedEncodingException e )
		{
			
		}
		String locale = ViewerPlugin.getDefault( ).getPluginPreferences( )
				.getString( USER_LOCALE );