Closed Bug 348468 Opened 18 years ago Closed 8 years ago

Edit As New on multipart/alternative + multipart/related + quoted-printable starts empty composer window

Categories

(MailNews Core :: Composition, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: nelson, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060804 SeaMonkey/1.5a

I go into the Sent folder for my POP email account and find a message that
I previously sent.  It is an HTML email message with 7 embedded images.
I select it and click Message->Edit Message As New

Expected result: New HTML email composer window appears with the original 
message in it, as if I was still composing the original message.

Actual result: New HTML email composer window appears.  It is empty.

reproducible:  100% at will.

Other factors that may or may not be relevant:  I have SeaMonkey configured
to send plain text email by default.  I normally have to hold down the shift
key while clicking "Compose" to get the HTML composer window to appear.  

The original email was sent as both text/Plain and text/html.
WFM TB 3a1-0808, Win2K.  Could this be suite-only?
Do any error messages appear in the Error Console under Tools->Web Development->Error Console when clicking on "Edit Message As New"? Did you already try with a current nightly, too?
No, no errors appear in the error console. 
I'm runing a week old nightly.  
Do you think this has changed in the last week?

I've played with this some more.  
Not all of the emails wiht pictures in-line that I've previously sent have
this problem.  Looks like it's just this one.  I will see if I can attach it.
This is the email message on which Edit Message as New fails.
OK, I see this.  There's a combination of issues here.  The message's MIME structure is:

  multipart/alternative
    1: text/plain
    2: multipart/related
      2.1: text/html; quoted-printable
      2.2: image/gif
       ...
      2.6: image/gif

First of all: with a message formatted such that part 2 is multipart (rather than simple text/html), the text/plain part is never viewed (bug 253830); instead, when viewing As Plain, the HTML part is downconverted.  So the Edit As New always retrieves the text/html part as well.  (When you're composing a message, it's either HTML or plain; Edit As New on a multipart/alternative message starts with only one part.  If the two parts are simple text/plain plus text/html, Message Body As Plain plus Edit As New results in a plain-text compose window of the plain-text part.)

Second: edit-as-new (or forward-inline) of a quoted-printable (or base64) part fails in various ways: bug 307023.  (See bug 307023 comment 17.)  This latter is a serious bug, but unlikely to be fixed until infrastructure issues are considered more important than frontend gewgaws like stars and tags.

This bug's symptom might well be fixed by addressing bug 307023, but the manifestation is different enough that I think it should stand alone as its own bug; I'll add a dependency.
Depends on: 307023
OS: Windows XP → All
Hardware: PC → All
Summary: Edit Message As New starts empty composer window → Edit As New on multipart/alternative + multipart/related + quoted-printable starts empty composer window
Product: Core → MailNews Core
(In reply to comment #4)
> email message that has the problem

Tb 2.0.0.22              : Problem is reproduced.
Tb trunk 2009/6/25 build : Problem is not reproduced. Save As Draft is successful.
> Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1pre) Gecko/20090625 Shredder/3.0b3pre

WORKSFORME. (Note: Bug 327285 still remains)
FYI.
Bug 394322 exists. Please don't use "Simple HTML" in your test for this bug.
> Bug 394322 forward inline from Simple HTML view creates blank email
Nelson this might have been fixed by bug 351224. Could you take a few minutes and download the latest nightly ( http://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/latest-comm-central/ ), backup your profile and test and let us know if this is fixed or not ?
Bug is fixed.
Linux, TB 11.0a2 -  When I open testing message from disk and then choose from menu Message->Edit message as new =>new message is full copy of displayed message.
Nelson ?
Removing myslef on all the bugs I'm cced on. Please NI me if you need something on MailNews Core bugs from me.
Works with TB 49 (2016-05-17) with attachment 233709 [details].
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: