Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 368155 - Mail Utility: Problem with MIME Message in rfc822 format
Summary: Mail Utility: Problem with MIME Message in rfc822 format
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Scout (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-09 08:26 EST by Daniel ühler CLA
Modified: 2021-08-19 10:58 EDT (History)
1 user (show)

See Also:
zimmermann: juno+


Attachments
Patch and Wrapper class (6.21 KB, application/octet-stream)
2012-01-09 08:26 EST, Daniel ühler CLA
no flags Details
Patch and Wrapper class (from root) (6.27 KB, patch)
2012-01-11 07:50 EST, Daniel ühler CLA
stephan.leichtvogt: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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)