Closed Bug 1906757 Opened 3 months ago Closed 2 months ago

Don't create duplicate message headers for EWS messages

Categories

(Thunderbird :: General, enhancement)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED
130 Branch

People

(Reporter: leftmostcat, Assigned: leftmostcat)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Because we don't have transactionality in the message database, it is possible for a message sync with EWS to encounter only a partial failure. In this case, we may add messages to the database but not update the sync state, in which case a subsequent sync will reprocess any messages which previously succeeded. This will currently result in duplicate message headers.

Message header creation should be conditional on not finding any other messages with the same EWS ID.

Pushed by daniel@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/472cda4cf8dd
Don't create message headers for EWS messages which already exist. r=aleca,babolivier

Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 130 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: