Closed
Bug 166411
Opened 24 years ago
Closed 23 years ago
Copying msgs to local folders with invalid db's causes corruption
Categories
(MailNews Core :: Backend, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: naving, Assigned: naving)
Details
Attachments
(1 file)
|
4.74 KB,
patch
|
cavin
:
review+
Bienvenu
:
superreview+
|
Details | Diff | Splinter Review |
| Assignee | ||
Updated•24 years ago
|
Status: NEW → ASSIGNED
Summary: Copying msgs to folders with invalid db's causes corruption → Copying msgs to local folders with invalid db's causes corruption
| Assignee | ||
Comment 1•24 years ago
|
||
The fix is to call GetDatabaseWOReparse where we don't want parsing to be
kicked off because we are in middle of writing to folder and GetDatabase does
that.
I have removed rv in certain places because it was same as checking whether we
got db and it was causing bad things to happen because it was getting
propagated. Also I have made it so that undo is not done here because we were
never able to copy the hdr to destination folder. I have tested for news, imap,
local --> local and also compose save as draft and send.
| Assignee | ||
Comment 2•24 years ago
|
||
Cavin, David. Can I get reviews ? thx.
Comment 3•24 years ago
|
||
looks fine, just a couple nits about the comments:
//null out the transaction because we can't undo w/o the msg db
and you should say why you're blowing off the error return in
GetMsgDatabaseWOReparse().
Comment 4•24 years ago
|
||
Comment on attachment 98185 [details] [diff] [review]
proposed fix
sr=bienvenu
Attachment #98185 -
Flags: superreview+
Comment 5•24 years ago
|
||
Comment on attachment 98185 [details] [diff] [review]
proposed fix
r=cavin.
Attachment #98185 -
Flags: review+
| Assignee | ||
Comment 6•23 years ago
|
||
fixed
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Updated•23 years ago
|
QA Contact: gayatri → esther
| Assignee | ||
Comment 8•23 years ago
|
||
To create an invalid db, just save the .msf file using explorer so that
timestamps of berkeley mailbox and msf file are no longer same or you can delete
the .msf file altogether.
commerical
2003-01-02-05-trunk Xp
2003-01-02-08-trunk Mac OS 10.1.2, linux 2.2
I removed various *.msf folder files under Local folders
(new folder, Unsent, Drafts, templates, Sent) and tried
coping megs, creating drafts,templates, or unsent mesgs.
And there was no problem saving/copying/moving mesgs to
any folder under Local Folders when the *.msf file was removed.
I was able to view all mesgs in the Local folders and edit/send various
drafts/templates.
marking as verified.
Status: RESOLVED → VERIFIED
Updated•21 years ago
|
Product: MailNews → Core
Updated•18 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•