Closed Bug 1931599 Opened 1 year ago Closed 1 year ago

[EWS] Message from-file copy operations (draft/sent) never get dequeued

Categories

(Thunderbird :: Account Manager, defect)

defect

Tracking

(Not tracked)

RESOLVED FIXED
135 Branch

People

(Reporter: babolivier, Unassigned)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression, Whiteboard: [fixed by bug 1908654])

This means a first e.g. save as draft will succeed but a second one will hang forever.

To fix this, we need to call nsIMsgCopyService::NotifyCompletion like nsMsgLocalMailFolder does here: https://searchfox.org/comm-central/rev/6beeb01907990e9aaf01d3ae650ef20f2a716ef7/mailnews/local/src/nsLocalMailFolder.cpp#1334-1338

This seems to result in a duplicate call to nsMsgComposeSendListener::RemoveCurrentDraftMessage (via MessageSend.notifyListenerOnStopCopy), which removes the draft from the folder's view but fails to replace it. I'm not entirely sure what triggers the other call to RemoveCurrentDraftMessage.

Fixed as part of the refactoring from bug 1908654.

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Whiteboard: [fixed by bug 1908654]
Target Milestone: --- → 135 Branch
You need to log in before you can comment on or make changes to this bug.