Closed Bug 47497 Opened 25 years ago Closed 25 years ago

After sending mail get dialog that says you can't save mail to local folder the crashes

Categories

(MailNews Core :: Composition, defect, P3)

defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: jeziorek, Assigned: bugzilla)

References

Details

(Keywords: smoketest, Whiteboard: Fix in hand)

Attachments

(1 file)

-start browser -Tasks|Netscape Mail -compose a new message by pressing on the new message button -send it to yourself and put whatever you want in the subject and body -send the message -you'll get a dialog that says: Your send operation was successful, but copying the message to your sent folder failed. WOuld you like to return to the compose window? -press ok -watch as it crashes all platforms trunk m18 build 2000-08-03-08-M18
Keywords: smoketest
definitely holding for this one.
Looking at it right now... QA, can you try to reproduce this problem, thanks
Status: NEW → ASSIGNED
Target Milestone: --- → M18
I can reproduce this bug. I am about to attach a stdlog.
*** Bug 47501 has been marked as a duplicate of this bug. ***
I see the crash also when the copy operation succeeded.
I found the problem: at the end of the function nsMsgLocalMailFolder::EndCopy, you do : srcFolder = do_QueryInterface(mCopyState->m_srcSupport, &rv); if (srcFolder) ... The problem is that in my case, I don't have a source folder therefore the query interface will failed and rv will contains an error. As we return an error, we will later thought that the copy failed and therefore clear the request but the request has been already cleared by the completion runtine because the copy didn't failed but correctly succeeded. the fix is to do: srcFolder = do_QueryInterface(mCopyState->m_srcSupport); if (srcFolder) ...
Whiteboard: Fix in hand
get it reviewed and check it in, a=granrose.
Fixed and checked in
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
No longer see this on Linux build 2000-08-04-08-M18 will verify after checking win and mac
no longer see this on any platoforms using build 2000-08-04-08-M18; verifying
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.

Attachment

General

Created:
Updated:
Size: