Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 346190

Summary: Generation of javax.mail.MIMEMessage from Microsoft Word Document adds superfluous header.html file.
Product: z_Archived Reporter: Otmar Caduff <otmar.caduff>
Component: ScoutAssignee: Project Inbox <scout.core-inbox>
Status: CLOSED FIXED QA Contact:
Severity: minor    
Priority: P3 CC: hannes.mueller, zimmermann
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Otmar Caduff CLA 2011-05-18 03:18:24 EDT
Build Identifier: org.eclipse.scout.commons_3.7.0.201104261606

Observed with Microsoft Word 2002 (aka XP). When feeding the method
org.eclipse.scout.commons.MailUtility.createMimeMessageFromWordArchiveInternal(File, String, File[], boolean)
with a word archive created from a word 2002 document with pictures and formatting, a file header.html is added as a part to the MIMEMessage. This file seems to contain information not relevant to consumers of MimeMessage. Moreover, if the MimeMessage is sent by e-mail (which is most often why the functionality in this method is used), the receiver will see a useless 'header.html' attachment.
Suggestion: add this filename to the list of files to be ignored when creating a MimeMessage. Currently, these are 'filelist.xml', 'colorschememapping.xml', 'themedata.thmx', 'editdata.mso'.

Reproducible: Sometimes

Steps to Reproduce:
See details.
Comment 1 Hannes Mueller CLA 2011-05-24 09:31:14 EDT
fixed on trunk of scout 3.7
Comment 2 Otmar Caduff CLA 2011-05-24 09:35:49 EDT
OK