Closed Bug 30281 Opened 25 years ago Closed 25 years ago

Body of outgoing message is blank in today's build

Categories

(MailNews Core :: Composition, defect, P3)

defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: phil, Assigned: mscott)

References

Details

(Keywords: regression, smoketest)

Using 3/3 morning build on Windows NT Compose a message, and send it to yourself Receive the message No body text is shown
Tried to read the message in 4.7. No body there either. Data loss. Bad bad bad.
I'm on it like hair on a monkey :-) - rhp
Status: NEW → ASSIGNED
Target Milestone: M14
Keywords: dogfood
I am looking at it too.
Well, the reason that the emails are blank is that: rv = conv->ScanHTML(bodyText, whattodo, &wresult); is returning an empty HTML document in wresult. Looking into what is going on inside of ScanHTML(). - rhp
I am seeing this on Mac. Update platform to all.
Keywords: regression
OS: Windows NT → All
Hardware: PC → All
Can this be the same thing were seeing in Aim? Bugsplat bug http://scopus/bugsplat/show_bug.cgi?id=386904
Do you mean a different bug? 386904 seems to be something else. But IM conversations are losing a lot of data in today's build too.
Keywords: smoketest
Probably...if they scan the text for conversion before sending...probably. - rhp
Update: using builds 2000-03-03 on linux, html only. Also note, copy to sent folder fails sending an html message, but not a plain text message.
Sorry I meant Aim bug http://scopus/bugsplat/show_bug.cgi?id=387213 Can't see messages in IM conversation log.
udating my update. the copy to sent folder of an html message, fails on all platforms too, probably related to this.
Ok, well, I think it narrows down to this block of code inside of mozTXTToHTMLConv::ScanHTML(): PRUint32 start = PRUint32(i); i = aInString.FindChar('<', PR_FALSE, i); if (i == kNotFound) i = lengthOfInString; nsString tempString; tempString.SetCapacity((PRUint32(i) - start) * growthRate); UnescapeStr(aInString.GetUnicode(), start, PRUint32(i) - start, tempString); ScanTXT(tempString.GetUnicode(), tempString.Length(), whattodo, aOutString); When I was walking through this, it looked like tempString was always set to "" when I should have seen some body text...I think. I'll keep digging, but I'd like mscott to take a look at this. - rhp
Left sticky note at work and voice mail at home for mscott.
Actually, the copy to sent folder of an HTML message only - failed for linux and mac only. windows was OK. I thought this was related. Maybe this isn't related, I'll log a separate bug.
FCC fails for me on NT. I have no idea if that's the same bug as blank body or not.
copy to folder on send failed for me on Win98 too.
FCC plain text works for me, though (FCC HTML doens't), so it might be the same bug.
Since we're also seeing this IM, I think this may be due to ender not returning its content when queried. Just a hunch.
I have a fix. There was a bug in one of my changes that really showed itself on small messages and not larger ones. getting permission to check in now.
Thanks buddy - rhp
Assignee: rhp → mscott
Status: ASSIGNED → NEW
I should be thanking you not the other way around. Thanks for the detective work. Esther, I hear there's another bug about messages not getting copied to the sent folder. Did you file a separate bug or is that in this one too.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
*** Bug 30314 has been marked as a duplicate of this bug. ***
Scott, no I didn't file a separate bug for the HTML failing in copy to sent folder. I suspected and so did Phil that it was part of the bug. I just tested this fix and the Copy to sent is fixed too. Using build 2000-03-03-12 on linux and 2000-03-03-13 on Mac this is fixed. Still waiting for Windows build to test.
Windows build is available and both issues appear to be fixed
using build 2000-03-03-14 on win98 this is fixed. verified.
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.