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 svgFlag = ViewerPlugin.getDefault( ).getPluginPreferences( )
				.getString( SVG_FLAG );
		boolean bSVGFlag = false;
		
		String maxrows = ViewerPlugin.getDefault( ).getPluginPreferences( )
				.getString( PREVIEW_MAXROW );
		if ( maxrows == null )
			maxrows = ""; 
		
		boolean rtl = false;
		String eclipseCommands = System.getProperty( "eclipse.commands" ); 
		if ( eclipseCommands != null )
		{
			String[] options = eclipseCommands.split( "-" ); 
			String regex = "[\\s]*[dD][iI][rR][\\s]*[rR][tT][lL][\\s]*"; 
			Pattern pattern = Pattern.compile( regex );
			for ( int i = 0; i < options.length; i++ )
			{
				String option = options[i];
				if ( pattern.matcher( option ).matches( ) )
				{
					rtl = true;
					break;
				}
			}
		}
		if ( "true".equalsIgnoreCase( svgFlag ) ) 
		{
			bSVGFlag = true;
		}