Bug 136807 [Regression]Preview embedded image with web view will effect other way to preview
Details: [Regression]Preview embedded image with web view will effect other way to preview Step: 1.New a library and insert a embedded image. 2.New a report design and use the library. 3.Drop the image form library into layout. 4.Preview with HTML/PDF. 5.Preview with web view. 6.Preview with HTML/PDF. Actual result: In step 4, image is previewed. In step 5, image can't be previewed. In step 6, image can't be previewed. It means that, after I use web view to preview the embedded image from library, I can't preview this image any ways.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/content/impl/ImageContent.java
static final protected int FIELD_MIMETYPE = 506;
	static final protected int FIELD_DATA = 507;
	protected void writeFields( DataOutputStream out ) throws IOException
	{
		super.writeFields( out );
		if ( altText != null )
		{
			IOUtil.writeInt( out, FIELD_ALTTEXT );
			IOUtil.writeString( out, altText );
		}
		if ( altTextKey != null )
		{
			IOUtil.writeInt( out, FIELD_ALTTEXTKEY );
			IOUtil.writeString( out, altTextKey );
		}
		if ( extension != null )
		{
			IOUtil.writeInt( out, FIELD_EXTENSEION );
			IOUtil.writeString( out, extension );
		}
		if ( imageMap != null )
		{
			IOUtil.writeInt( out, FIELD_IMAGEMAP );
			IOUtil.writeObject( out, imageMap );
		}
		if ( sourceType != -1 )
		{
			IOUtil.writeInt( out, FIELD_SOURCETYPE );
			IOUtil.writeInt( out, sourceType );
		}