Closed Bug 84334 Opened 24 years ago Closed 24 years ago

Unable to delete mail when stopped during deletion

Categories

(MailNews Core :: Networking: POP, defect, P1)

x86
All

Tracking

(Not tracked)

VERIFIED FIXED
mozilla0.9.2

People

(Reporter: sheelar, Assigned: naving)

References

Details

(Whiteboard: [nsbeta1+][PDT+])

Attachments

(1 file)

Branch build :2001060511win98, 2001060504 linux build Selecting large messages and hit stop before delete is complete. This makes any further deletion impossible in that account. This can be reproduced in a pop account. Steps to reproduce: Start mail app make sure you have a pop account in the profile. send your self messages with large attachments receive these messages in the inbox select a bunch of messages with the above messages in the thread pane (make sure messages are large so that you have time to stop the deletion) Click on the delete button in the toolbar Click on the stop button before it finishes deleting Later clear the selection in the thread pane.(Because when you stop the messages are still selected in the thread pane) Actual Results: Trying to delete messages in inbox or any folders in that account fails. Switching folders does nothing. Switching accounts also does not resolve the problem. Trying to delete single or multiple messages again in the same session fails from menu item, toolbar, context menus. I also saw that the copy of these messages were not cleared from the trash. I saw a few messages in the trash folder and those messages still in the thread pane. So I guess when we stop deleting messages we do not clear the copy that me make in trash folder before deleting messages. Expected result: None of the above. I still need to check this on mac and I will update the bug after I do so. Nominating this bug for nsbeta1 so that users are able to delete messages. There are several delete bugs which has been reported with no reproducible test case but just confusing comments. So hopefully this is the same bug that others have been seeing.
Adding keyword
Keywords: nsbeta1
Bugscape 5952 mentions something similar, I think. Moving to 0.9.2
Priority: -- → P1
Whiteboard: [nsbeta1+]
Target Milestone: --- → mozilla0.9.2
reassigning to cavin
Assignee: naving → cavin
this is going to turn out to be because we're not clearing the copy state after stopping the copy, I'd bet. Cc'ing Navin because he has several similar bugs.
adding PDT+
Whiteboard: [nsbeta1+] → [nsbeta1+][PDT+]
Cavin, I want to take this back if you have not started working on it. I am more familiar with this code.
OK, Navin you can have it back as I have not looked into it yet.
reassigning back to self
Assignee: cavin → naving
Attached patch proposed fixSplinter Review
Whenever copy is stopped truncate to the beginning of the last message and clear the copyState. Also remove this old code so that NS_BINDING_ABORTED can be propagated up to nsMsgProtocol and from there to the copy code. mscott, the necko code no longer returns NS_BINDING_ABORTED for displaying and copying msgs. looking for r & sr from david and mscott.
r=mscott
sr=bienvenu
a= asa@mozilla.org for checkin to the trunk. (on behalf of drivers)
Blocks: 83989
fix checked into trunk.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
verified using the following builds: 2001061807-win98 2001061808-mac 2001061808-linux
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: