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

Bug 368155

Summary: Mail Utility: Problem with MIME Message in rfc822 format
Product: z_Archived Reporter: Daniel ühler <dbu>
Component: ScoutAssignee: Project Inbox <scout.core-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: zimmermann
Version: unspecifiedFlags: zimmermann: juno+
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Patch and Wrapper class
none
Patch and Wrapper class (from root) stephan.leichtvogt: iplog+

Description Daniel ühler CLA 2012-01-09 08:26:01 EST
Build Identifier: Version: 3.6.2 Build id: M20110210-1200

part.setFileName(msg.getSubject() + ".eml"); throws an exception if part is read-only:

for a MIME message in rfc822 format as attachment therefore we have to set the filename for the attachment correctly.
but the body part doesn't allow to set the filename. A wrapper solve this problem.


Reproducible: Always
Comment 1 Daniel ühler CLA 2012-01-09 08:26:51 EST
Created attachment 209202 [details]
Patch and Wrapper class
Comment 2 Stephan Leicht Vogt CLA 2012-01-11 07:42:29 EST
Please create patches with "Patch root" Workspace, else I have to search the correct bundle in the "Apply Patch"-dialog
Comment 3 Daniel ühler CLA 2012-01-11 07:50:49 EST
Created attachment 209307 [details]
Patch and Wrapper class (from root)

New diff generated according spec from Stephan (thx for the hint)
Comment 4 Stephan Leicht Vogt CLA 2012-01-11 07:55:10 EST
patch applied on trunk for eclipse 3.8. 
Thank you Daniel.
Comment 5 Matthias Zimmermann CLA 2012-07-09 06:50:41 EDT
ticket closed.
deliverd as part of eclipse scout 3.8.0 (juno release train)