Bug 198624 Some unknow code in Thumbnail after import a preview image
Description: Some unknow code in Thumbnail after import a preview image Build number: 2.2.1.v20070802-0630 Steps to reproduce: 1, New a report 2, Import preview image(/templates/mailing_labels.gif) in general of Property editor 3, Go to Advanced and check the Thumbnail Expected result: I don't know what the code should be, but must not be the unknown code Actual result: Some unknow code such as BM.....I will attach a screen image to show you.
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/api/ElementExporterTest.java
public void testExportDesign( ) throws Exception
	{
		openDesign( "ElementExporterTest_6.xml" ); 
		openLibrary( "ElementExporterTestLibrary.xml" ); 
		DataItemHandle itemHandle = (DataItemHandle) designHandle
				.getElementByID( 5 );
		assertNull( itemHandle.getName( ) );
		ElementExportUtil
				.exportDesign( designHandle, libraryHandle, true, true );
		itemHandle = (DataItemHandle) libraryHandle.findElement( "NewData1" );
		assertEquals( 1, itemHandle
				.getListProperty( "boundDataColumns" ).size( ) );
		itemHandle = (DataItemHandle) libraryHandle.findElement( "NewData" );
		assertNotNull( libraryHandle.findCube( "testCube" ) ); 
	}
	/**
	 * When export property binding , should change 'id' property. See bugzilla
	 * 198076
	 * 
	 * @throws Exception
	 */
	public void testExportPropertyBinding( ) throws Exception
	{
		openDesign( "ElementExporterTest_PropertyBinding.xml" ); 
		openLibrary( "ElementExporterTestLibrary.xml" ); 
		ElementExportUtil.exportDesign( designHandle, libraryHandle, false , false );
		DataSetHandle dsHandle = (DataSetHandle) libraryHandle.getDataSets( )
				.get( 0 );
		long id = dsHandle.getID( );
		List propertyBindings = libraryHandle