Closed Bug 100326 Opened 25 years ago Closed 25 years ago

compressing folders having insufficient diskspace causes loss of mail

Categories

(MailNews Core :: Backend, defect)

x86
Windows 98
defect
Not set
critical

Tracking

(Not tracked)

VERIFIED FIXED
mozilla0.9.5

People

(Reporter: hhfeuer, Assigned: naving)

References

Details

(Keywords: dataloss, Whiteboard: PDT+)

Attachments

(1 file)

i was using build 20010801 when this occured
-> navin
Assignee: bienvenu → naving
Component: Mail Database → Mail Back End
QA Contact: esther → sheelar
Keywords: dataloss
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Attached patch proposed fix — — Splinter Review
The fix is to bail out if the write fails and notifycompactCompleted. cc bienvenu for review.
David, Can i get an r= ?
why return NS_ERROR_OUT_OF_MEMORY?
Comment on attachment 50044 [details] [diff] [review] proposed fix this has r=bienvenu provided I change NS_ERROR_OUT_OF_MEMORY to NS_MSG_ERROR_WRITING_MAIL_FOLDER which I will do so before checking in
Attachment #50044 - Flags: review+
Comment on attachment 50044 [details] [diff] [review] proposed fix sr=sspitzer
Attachment #50044 - Flags: superreview+
fixed on trunk
Keywords: nsbranch
yikes....data losss...easily avoided. nsBranch+
Keywords: nsbranch → nsbranch+
Target Milestone: --- → mozilla0.9.5
Blocks: 99508
check it in - PDT+
Whiteboard: PDT+
fixed on branch
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
using branch build -2001-09-25-05 win98 verified. Compressing folder from the menu item when the disk space is full shows a dlg warning the disk space and compaction does not occur and there was no loss of message.
Keywords: vtrunk
*** Bug 101938 has been marked as a duplicate of this bug. ***
removing the keyword vtrunk because I verified this on the trunk build too. build: 2001-11-09-06 win98 I filled up the temp folder, sent a message. Then I deleted a message from the inbox. Then I selected compact folder from the menu item. When the disk space is full we display a dlg box" The folder 'inbox'could not be compacted because wiriting to folder failed. Verify that you have enough disk space and that you have write privileges to the file system, then try again. OK Then I saw that the thread pane was repainted with all the messages. Then I got another dlg from the windows system to clear the disk space. I did so by clicking disk cleanup button. After clearing the disk space compacted folders and successfully received the message that I sent before compacting.
Status: RESOLVED → VERIFIED
Keywords: vtrunk
*** Bug 220872 has been marked as a duplicate of this bug. ***
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: