Closed Bug 323815 Opened 19 years ago Closed 7 months ago

News Files/Folders are not deleted on unsubscribe

Categories

(MailNews Core :: Backend, defect)

x86
Linux
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 314383

People

(Reporter: standard8, Unassigned)

References

Details

1) Create a news server account & add some news groups. 2) Examine the profile and find the news group files. 3) Unsubscribe from one of the groups Expected result: News group file deleted. Actual result: News group file NOT deleted. Warning on console: WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file /opt/mozmaster/mozilla/mailnews/db/msgdb/src/nsMsgDatabase.cpp, line 167 4) Delete News server account Expected result: News group folder & associated files deleted. Actual Result: News group folder & associated files NOT deleted. No warning on console. This is on today's trunk, but judging from the state of my profile folders (from some testing of news group subscriptions I did before) its been around for quite a while.
Duplicate of bug 128744, by way of the more explicit (for NNTP/News) bug 94967? Be nice to see this fixed!
(In reply to comment #1) > Duplicate of bug 128744, by way of the more explicit (for NNTP/News) bug 94967? Possibly, lets see how it pans out ;-) Here is an update of what I've just looked at: I've just checked nsMsgNewsFolder::Delete(), it deletes the news summary file (the .msf) but not the .dat file. Do we create a folder if we are in offline mode - I haven't looked yet, but it would explain the other part of the Delete mechanism. I'm guessing that once nsMsgNewsFolder::Delete() has been called something else is still retaining a link to the old news folder, and somehow recreates or re-saves the msf file.
QA Contact: backend
Product: Core → MailNews Core
Severity: normal → S3
Status: NEW → RESOLVED
Closed: 7 months ago
Duplicate of bug: 314383
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.