Closed Bug 314831 Opened 20 years ago Closed 20 years ago

deleting local msg while local folder being compacted fails and you can't load msgs afterwards

Categories

(MailNews Core :: Backend, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Bienvenu, Assigned: Bienvenu)

Details

(Keywords: fixed1.8.1)

Attachments

(1 file)

Steps to reproduce: 1. Delete a msg from the local trash. 2. Select a msg in another local folder. 3. Do File | Compact Folders. 4. Wait until status says "Compacting trash" and then delete selected message. (it helps to have a large trash folder). It will silently fail. From this point forward, you won't be able to delete messages or select other messages in the folder until you switch folders. The other way this can arise if auto compaction is going on and gets to the trash just as you're deleting a message.
Attached patch proposed fixSplinter Review
This handles a couple cases of failure in deleting messages. The fix for this particular problem is to not drop the error from InitCopyState, and to notify the user when we get that error. With that change, deletes won't fail silently.
Attachment #201678 - Flags: superreview?(mscott)
Attachment #201678 - Flags: superreview?(mscott) → superreview+
fixed on trunk.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Attachment #201678 - Flags: approval1.8.1?
Attachment #201678 - Flags: approval1.8.1? → branch-1.8.1?(mscott)
Attachment #201678 - Flags: branch-1.8.1?(mscott) → branch-1.8.1+
Keywords: fixed1.8.1
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: