Closed Bug 1910168 Opened 2 months ago Closed 1 month ago

Repairing a local folder makes all the messages disappear from view (re-appear when you revisit the folder)

Categories

(Thunderbird :: Folder and Message Lists, defect)

Thunderbird 115
defect

Tracking

(thunderbird_esr115 affected, thunderbird_esr128? fixed, thunderbird130? affected)

RESOLVED FIXED
131 Branch
Tracking Status
thunderbird_esr115 --- affected
thunderbird_esr128 ? fixed
thunderbird130 ? affected

People

(Reporter: fo, Assigned: welpy-cw)

References

Details

(Whiteboard: [TM 128.2.1])

Attachments

(1 file)

I tried this in 129.0b5 (64-bit). STR:

  • Have a folder with some messages
  • Move a message to another folder
  • Repair the source folder

Result: The message list is empty. Console shows:

Uncaught : Component returned failure code: 0x80550005 [nsIMsgFolder.updateFolder]
    updateFolderAndNotifyOnLoad resource:///modules/DBViewWrapper.sys.mjs:111
    open resource:///modules/DBViewWrapper.sys.mjs:844
    _onSelect chrome://messenger/content/about3Pane.js:2738
    handleEvent chrome://messenger/content/about3Pane.js:1710
    rebuildSummary chrome://messenger/content/about3Pane.js:3410
    RebuildSummaryInformation chrome://messenger/content/folderProps.js:482
    oncommand chrome://messenger/content/folderProps.xhtml:1
    editFolder chrome://messenger/content/about3Pane.js:3416
    <anonymous> chrome://messenger/content/about3Pane.js:6304
    doCommand chrome://messenger/content/mailCommon.js:744
    triggerCommand chrome://messenger/content/about3Pane.js:855
    onCommand chrome://messenger/content/about3Pane.js:839
    handleEvent chrome://messenger/content/about3Pane.js:326

Looks a bit like bug 1831190.

This happens on 115, too, the JS stack is similar.

Presumably this also affects 128.

Version: Thunderbird 129 → Thunderbird 115

0x80550005 is NS_MSG_ERROR_FOLDER_SUMMARY_OUT_OF_DATE, which rebuilding should have fixed...
I can confirm the bug. Pretty sure bug 1831190 did work at the time though.

Assignee: nobody → h.w.forms
Attachment #9417993 - Attachment description: WIP: Bug 1910168 - Fix refreshing the view after a folder has been repaired. → Bug 1910168 - Fix refreshing the view after a folder has been repaired. r=mkmelin
Status: NEW → ASSIGNED

nice!

Duplicate of this bug: 1908077
See Also: → 494752
Severity: -- → S4
Target Milestone: --- → 131 Branch

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/278bf64e99d7
Fix refreshing the view after a folder has been repaired. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Whiteboard: [TM 128.2.1]

Comment on attachment 9417993 [details]
Bug 1910168 - Fix refreshing the view after a folder has been repaired. r=mkmelin

[Approval Request Comment]
User impact if declined: Repairing a local folder makes all the messages disappear from view (re-appear when you revisit the folder)
Testing completed (on c-c, etc.): c-c and beta
Risk to taking this patch (and alternatives if risky): Fairly low. Should be uplifted together with Bug 1913224.

Attachment #9417993 - Flags: approval-comm-esr128?

Comment on attachment 9417993 [details]
Bug 1910168 - Fix refreshing the view after a folder has been repaired. r=mkmelin

[Triage Comment]
Approved for esr128

Attachment #9417993 - Flags: approval-comm-esr128? → approval-comm-esr128+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: