Closed Bug 119515 Opened 24 years ago Closed 24 years ago

Local move/copy failures should be done more gracefully

Categories

(MailNews Core :: Backend, defect, P3)

defect

Tracking

(Not tracked)

VERIFIED FIXED
mozilla0.9.9

People

(Reporter: naving, Assigned: naving)

Details

Attachments

(1 file)

We should handle failed move/copy cases much better. We need to add mDeleteOrMoveMsgFailed cases for local folders.
QA Contact: esther → sheelar
Summary: Local move/copy failures should be done more gracefully → Local move/copy failures should be done more gracefully
Attached patch proposed fixSplinter Review
The fix is to make sure that we truncate the msg and notify mDeleteOrMoveMsgFailed in EndMove. I have added comments for explanation.
cc bienvenu for review. I was working on a bug where delete was failing so decided to work on this. I have made sure that news, imap, local -> local are working and also local ->imap is working. Infact if local to imap move fails, it works fine.
Comment on attachment 64575 [details] [diff] [review] proposed fix looks ok, r=bienvenu, though of course, with this code, you just have to test all the various permuations of copying single and multiple messages, things like compact, etc.
Attachment #64575 - Flags: review+
I will do more testing. I will check it in the next milestone.
Status: NEW → ASSIGNED
OS: Windows NT → All
Priority: -- → P3
Hardware: PC → All
Target Milestone: --- → mozilla0.9.9
Does this to fix the condition described in bug 119493?
moving to 1.0.1
Target Milestone: mozilla0.9.9 → mozilla1.0.1
moving to 0.9.9 so that I don't forget to check-in. very important, if delete fails, it freezes future move/copy/delete and also may not show counts correctly.
Target Milestone: mozilla1.0.1 → mozilla0.9.9
Infact it freezes up displaying msgs until we get out of the view by switching folders/restarting.
Comment on attachment 64575 [details] [diff] [review] proposed fix sr=mscott
Attachment #64575 - Flags: superreview+
fixed
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Tested single/multiple move from menu imap to local news to local local to imap verified using build 05-15-08 branch build on win98, linux, mac os x.
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

Creator:
Created:
Updated:
Size: