Closed Bug 77062 Opened 23 years ago Closed 23 years ago

Alert 'Failing to copy to the sent folder' appears sometimes

Categories

(MailNews Core :: Composition, defect, P2)

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 84261
mozilla0.9.2

People

(Reporter: sheelar, Assigned: vparthas)

References

Details

(Whiteboard: [nsbeta1+][PDT+])

Buildid:  2001041908 mac

While replying to messages displaying webpages I see this alert every so often 
coming up on mac machine. I did not reopen the other bug because that was merely 
copying failing. But this bug is more so with just the alert coming up and most 
of the time it does successfully copy to the sent folder.  This is does not 
happen to only imap I have seen this happen to pop sent folder. 
I was doing some testing on replying I will update the bug when I find a 100% 
reproducible case.
QA Contact: esther → sheelar
I still see this too.  It's the same case for me. Send yourself a bugzilla bug
report.  Reply to it and send it.  You get this error.  It doesn't bother me so
much if it only happens to bugzilla bug reports but I'd be interested in knowing
what's causing it to know what other messages are affected.
Keywords: nsbeta1
Priority: -- → P2
Whiteboard: [nsbeta1+]
Target Milestone: --- → mozilla0.9.1
I get this all the time on one of my POP accounts on Windows 2k (Build 2001043007).
It hangs trying to copy the message to the sent mail in local folders all the
time. I have to kill Mozilla to get get rid of the window. 

Note that this is on the same account for which message deleting does not work
(another bug is open for that). 

Copying to the sent folder and deleting messages works for my other POP account.
(I also have an IMAP account).
I see this on IMAP on Windows.  It happens to me a couple of times a day when
replying to various messages.
OS: Mac System 9.x → All
Re-assign to varada
Assignee: ducarroz → varada
This is caused because of the inconsistency of the Htmlcontentserializer in
adding CRLFs to the content. When no CR is detected within the allowed length-
then the message that gets copied to the send folder gets truncated to the last
detected CR. This often happens when we have Tables in the message. If we do a
View Message Source on this message we will notice that the view source doesnt
show the lines beyond the last detected CR. 
I tried playing with the various nsiDocumentEncoder flags as well as the
htmlcontentserializer and am getting lost quite often in the maze. 
I think this might belong to akkana but I am not sure therefore am re-assigning
this bug to beppe as well as CCing JST to the bug.
Assignee: varada → beppe
forgot to add mailtrack
Keywords: mailtrack
Mike is going to take a look at this one
Assignee: beppe → mjudge
assigning to brade -- you may want to ping simon about this one
Assignee: mjudge → brade
We need a test message here. Can someone attach the HTML of a message that fails 
to copy to the sent folder please?
OK, I worked on developing a minimal testcase for this...
it appears that it's a <pre> tag with a very large bugzilla query and another 
line or two to reproduce...
Depends on: 67334
There are two parts to this bug:
 1) editor is sending too much data in <pre> tags without any newlines
 2) mail/news is dropping data on the floor rather than inserting a newline
(possibly corrupting data).

This bug should cover the mail/news issues of data being lost.
Back to Varada.

btw, you can just copy the html from this attachment and paste it into a mail
compose window (and send it as html) to see this bug (assuming you have a local
sent folder setup):
  http://bugzilla.mozilla.org/showattachment.cgi?attach_id=35675
Assignee: brade → varada
Hardware: PC → All
moving to 0.9.2
Target Milestone: mozilla0.9.1 → mozilla0.9.2
*** Bug 58208 has been marked as a duplicate of this bug. ***
Esther - Seems, as though, I am not the only one having this problem.
adding pdt+
Whiteboard: [nsbeta1+] → [nsbeta1+][PDT+]
Seth, with your recent fix for long lines, does this bug go away?
marking this as a dup of 84261

*** This bug has been marked as a duplicate of 84261 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
verified as a dup 
Status: RESOLVED → VERIFIED
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.