Closed Bug 1927048 Opened 1 year ago Closed 1 year ago

Unified folders may not be regenerated in case of database issues

Categories

(Thunderbird :: Folder and Message Lists, defect)

Thunderbird 128
defect

Tracking

(relnote-thunderbird 136+, thunderbird_esr128? fixed, thunderbird134 wontfix, thunderbird135 affected)

RESOLVED FIXED
136 Branch
Tracking Status
relnote-thunderbird --- 136+
thunderbird_esr128 ? fixed
thunderbird134 --- wontfix
thunderbird135 --- affected

People

(Reporter: snakehunt89, Assigned: welpy-cw)

References

(Regression)

Details

(Keywords: regression)

Attachments

(3 files)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:131.0) Gecko/20100101 Firefox/131.0

Steps to reproduce:

Trying to enable the unified folder results in nothing happening and errors being logged to the debug console.

Error intiating smart mode. : Component returned failure code: 0x80550005 [nsIMsgFolder.msgDatabase]
get dbFolderInfo resource:///modules/VirtualFolderWrapper.sys.mjs:241
get searchFolders resource:///modules/VirtualFolderWrapper.sys.mjs:121
init chrome://messenger/content/about3Pane.js:1062
_initMode chrome://messenger/content/about3Pane.js:2115
_toggleMode chrome://messenger/content/about3Pane.js:2097
set activeModes chrome://messenger/content/about3Pane.js:2000
toggleFolderMode chrome://messenger/content/about3Pane.js:1861
oncommand about:3pane:1
about3Pane.js:2117:17
Uncaught : Component returned failure code: 0x80550005 [nsIMsgFolder.msgDatabase]
get dbFolderInfo resource:///modules/VirtualFolderWrapper.sys.mjs:241
get searchFolders resource:///modules/VirtualFolderWrapper.sys.mjs:121
init chrome://messenger/content/about3Pane.js:1062
regenerateMode chrome://messenger/content/about3Pane.js:1079
_initMode chrome://messenger/content/about3Pane.js:2122
_toggleMode chrome://messenger/content/about3Pane.js:2097
set activeModes chrome://messenger/content/about3Pane.js:2000
toggleFolderMode chrome://messenger/content/about3Pane.js:1861
oncommand about:3pane:1
VirtualFolderWrapper.sys.mjs:241
Source map error: Error: URL constructor: is not a valid URL.
Resource URL: about:3pane
Source Map URL:

Actual results:

No unified folder gets displayed and the option becomes unchecked again.

Expected results:

Unified folder gets shown in folder list.

Not sure where else to put extra information but this issue only started occurring after the most recent update in the beta version and was fine prior. I also initially noticed odd behavior where the inbox screen was entirely blank and posted about it on reddit (https://www.reddit.com/r/Thunderbird/comments/1gahzkp/thunderbird_beta_1320b6_odd_display_issues/) and ended up using the troubleshoot mode and resetting settings which resulted in the display working again but the unified folders never started working again.

Bit of system information if it's helpful:

Edition Windows 10 Pro
Version 22H2
Installed on ‎2023-‎10-‎02
OS build 19045.5073
Experience Windows Feature Experience Pack 1000.19060.1000.0

Processor AMD Ryzen 9 7900X 12-Core Processor 4.70 GHz
Installed RAM 64.0 GB (63.6 GB usable)

Thanks for the report.

If 132.0b5 worked and 132.0b6 fails, the possibilities are https://bugzilla.mozilla.org/buglist.cgi?bug_id=1922859%2C1912675%2C1917278%2C1916063&list_id=17349013

Do you still see the problem?

Flags: needinfo?(snakehunt89)
Summary: Unified Folder No Longer Working on Latest Thunderbird Beta → Unified Folder No Longer Working on Latest Thunderbird Beta 132.0b6 with about3pane.js error

I have the exact same bug after update to 128.5.2esr:

  • unusable blank thunderbird after update
  • thunderbird no longer all blank after troubleshoot mode to restore panels to original
  • unified folder does nothing after that (exactly like the video)

When creating a new Thunderbird profile, the unified folder option is working fine, however.

This doc helped https://kb.mozillazine.org/Unified_Folders_not_working
Deleting the "<thunderbird-profile>\Mail\smart mailboxes" folder fixed the issue for me.

See Also: → 1932384
Assignee: nobody → h.w.forms
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Severity: -- → S3
Keywords: regression
Regressed by: 1893700
Version: Thunderbird 132 → Thunderbird 128
Duplicate of this bug: 1932384
See Also: 1932384
Summary: Unified Folder No Longer Working on Latest Thunderbird Beta 132.0b6 with about3pane.js error → Unified folders may not be regenerated in case of database issues

Sorry I forgot all about this bug report. I tried a couple different versions after that initial update to 128 with that same profile, up to latest 134 beta and none of them fixed/restored the unified folder functionality for me. After I 131 beta came out I went ahead and fully rebuilt my profile (I kept a copy of the old one and tested as mentioned above) but that seemed to be the only way to resolve it. Nothing else I tried was able to get the original profile that was upgraded to work. Pretty much the exact behaviour Yolsgen was seeing as well.

Flags: needinfo?(snakehunt89)

Sorry correction to my comment above, it was after 133 came out that I rebuilt my thunderbird profile. Not 131. (couldn't figure out how to edit my post if that's possible so sorry for the extra spam lol)

Target Milestone: --- → 136 Branch

Pushed by arschmitz@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/2696afd03dc1
Fix typo that prevented regenerating of smart mailboxes. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED

Comment on attachment 9445865 [details]
Bug 1927048 - Fix typo that prevented regenerating of smart mailboxes. r=mkmelin

[Approval Request Comment]
Regression caused by (bug #): bug 1893700
User impact if declined: Smart mailboxes may not be regenerated automatically in case of an error.
Testing completed (on c-c, etc.): c-c
Risk to taking this patch (and alternatives if risky): none, simply typo fix

Attachment #9445865 - Flags: approval-comm-esr128?
Attachment #9445865 - Flags: approval-comm-beta?

Release Note Request (optional, but appreciated)
[Suggested wording]: Fixed: Unified folders could become unusable instead of being automatically rebuilt.

Comment on attachment 9445865 [details]
Bug 1927048 - Fix typo that prevented regenerating of smart mailboxes. r=mkmelin

[Triage Comment]
This will be included in Monday's merge of cc->beta

Attachment #9445865 - Flags: approval-comm-beta? → approval-comm-beta-

Comment on attachment 9445865 [details]
Bug 1927048 - Fix typo that prevented regenerating of smart mailboxes. r=mkmelin

[Triage Comment]
Approved for esr128

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

Attachment

General

Creator:
Created:
Updated:
Size: