Closed Bug 1964161 Opened 6 months ago Closed 6 months ago

Compact news server/newsgroup errors with "Uncaught NS_ERROR_NOT_IMPLEMENTED: Component returned failure code: 0x80004001 (NS_ERROR_NOT_IMPLEMENTED) [nsIMsgFolder.compactAll] compactAllFoldersForAccount chrome://messenger/content/about3Pane.js:3856"

Categories

(Thunderbird :: General, defect)

Thunderbird 140
defect

Tracking

(thunderbird_esr115 wontfix, thunderbird_esr128 affected, thunderbird138 affected, thunderbird139 affected, thunderbird140 fixed)

RESOLVED FIXED
140 Branch
Tracking Status
thunderbird_esr115 --- wontfix
thunderbird_esr128 --- affected
thunderbird138 --- affected
thunderbird139 --- affected
thunderbird140 --- fixed

People

(Reporter: wsmwk, Assigned: welpy-cw)

References

(Regression)

Details

(Keywords: regression, reproducible)

Attachments

(2 files)

140.0a1 2025-05-01

  1. Picked a news server (news.blueworldhosting.com)
  2. File > Compact

Uncaught NS_ERROR_NOT_IMPLEMENTED: Component returned failure code: 0x80004001 (NS_ERROR_NOT_IMPLEMENTED) [nsIMsgFolder.compactAll]
compactAllFoldersForAccount chrome://messenger/content/about3Pane.js:3856
<anonymous> chrome://messenger/content/about3Pane.js:6621
doCommand chrome://messenger/content/mailCommon.js:754
triggerCommand chrome://messenger/content/about3Pane.js:834
onCommand chrome://messenger/content/about3Pane.js:818
handleEvent chrome://messenger/content/about3Pane.js:276

Right ::CompactAll() is not implemented for news, only Compact() which does not do the normal compact... - https://searchfox.org/comm-central/rev/8c6d2ec9e235c9aa3b8ea444f939d776304fbea8/mailnews/news/src/nsNewsFolder.cpp#1362
I'm not sure why it doesn't do the same compact as local folders do.

Assignee: nobody → h.w.forms
Status: NEW → ASSIGNED
Attachment #9488676 - Attachment description: WIP: Bug 1964161 - Remove unused/non-functional folder compaction code from nsNewsFolder. r=#thunderbird-reviewers → Bug 1964161 - Remove unused/non-functional folder compaction code from nsNewsFolder. r=#thunderbird-reviewers
Target Milestone: --- → 140 Branch
Keywords: leave-open

Pushed by corey@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/8db698ef5032
Disable "Compact" for newsgroup accounts. r=babolivier
https://hg.mozilla.org/comm-central/rev/06af8f98b148
Remove unused/non-functional folder compaction code from nsNewsFolder. r=babolivier

Status: ASSIGNED → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: