Closed Bug 70321 Opened 25 years ago Closed 25 years ago

Compacting a folder with deleted messages and a subfolder does not properly update mailbox file and mailbox index

Categories

(SeaMonkey :: MailNews: Message Display, defect)

x86
Windows NT
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 68875

People

(Reporter: jmerz42, Assigned: naving)

Details

Found in build 2001021508 (Mozilla 0.8) running on WinNT 4, SP 6. If a folder has a subfolder, and has at least one deleted message, when it is compacted, the message entries are removed from the index file (X.msf), but the messages are not physically removed from the mailbox file (X). Additionally, the subfolder disappears from the folder view in the left pane. It is not deleted, but it cannot be accessed again until Mozilla is shut down and restarted. Side Note: This is with Mozilla set up for a POP acount if that makes any difference as opposed to IMAP (not sure if the mailboxes are stored differently for the two). To Reproduce: 1. Create a folder named "Folder". 2. Create a subfolder of "Folder", call it "Subfolder". 3. Put at least one mail message into "Folder". 4. Delete one or more messages from "Folder". 5. Click on "Folder" in the lefthand frame to highlight it. 6. Compact "Folder" via File menu->Compact this folder. 7. Note that the indication that "Folder" has a subfolder has disappeared from the view. 8. If you now look at the Folder.msf file, you will see that the messages have been removed from the index, but if you look in the Folder file, the messages have not been removed from there. 9. Click on "Folder" again to select it, and the index is rebuilt, and all deleted messages reappear.
folder disappearing is covered under bug http://bugzilla.mozilla.org/show_bug.cgi?id=60487 other compact folder bugs http://bugzilla.mozilla.org/show_bug.cgi?id=63804 http://bugzilla.mozilla.org/show_bug.cgi?id=68875 There seems to be a few compact folder bugs lately. Reporter - you may want to do a query on new, reopened, assigned bugs in the mailnews product with "compact" (less quotes) in the description field. You'll get 30 or so matches. Just glance at the summary for them to see if any match what you're seeing.
Status: UNCONFIRMED → NEW
Ever confirmed: true
should probably reassign this to naving who has the other compact bug reports. qa contact to sheelar.
Assignee: sspitzer → naving
QA Contact: esther → sheelar
The reporter has mentioned lot of issues that are already known. I don't remember the specific bug numbers. *** This bug has been marked as a duplicate of 68875 ***
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
verifying as dup
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.