Closed Bug 224267 Opened 21 years ago Closed 21 years ago

recreating local msf files needs to retain folder settings

Categories

(MailNews Core :: Database, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Bienvenu, Assigned: Bienvenu)

Details

Attachments

(1 file)

If we detect that the .msf file for a local folder is out of date with the
timestamp, we need to save and restore the various folder settings, like sort,
view, etc.  This somehow was broken.
Attached patch proposed fixSplinter Review
I added some code to nsLocalMailFolder to delete invalid DB's after pulling out
the info it wants to transfer to the new db, and changed nsMailDatabase::Open
to not delete the original db if the caller says it's willing to do the
upgrade/reparse process.
Attachment #134569 - Flags: review+
can you log a spin off bug on this issue?

+ // here we should handle the case where the current file is a .sbd directory w/o
+ // a matching folder file, or a directory w/o the name .sbd
there are several already, I believe :-) I need to find the numbers at some point.
fix checked in, r/sr=mscott
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
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

Created:
Updated:
Size: