Open Bug 1819574 Opened 1 year ago Updated 1 year ago

[imap-js] Cannot display email content in sub-folders when I select an email in the list

Categories

(Thunderbird :: Message Reader UI, defect)

Thunderbird 112
x86_64
Windows 10
defect

Tracking

(thunderbird_esr102 unaffected)

Tracking Status
thunderbird_esr102 --- unaffected

People

(Reporter: masayuki, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: regression, Whiteboard: [snnot3p])

STR:

  1. Select an email to view it

Expected Result:
Show the mail header and mail body normally in the pane.

Actual Result:
The pane is blank.

I got this error in the console.

NS_ERROR_ILLEGAL_VALUE: Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIMsgFolder.GetMessageHeader] ImapMessageService.jsm:238
    messageURIToMsgHdr resource:///modules/ImapMessageService.jsm:238
    ImapChannel resource:///modules/ImapChannel.jsm:49
    newChannel resource:///modules/ImapProtocolHandler.jsm:18
    fetchMessage resource:///modules/ImapService.jsm:185
    DisplayMessage resource:///modules/ImapMessageService.jsm:87
    displayMessage chrome://messenger/content/aboutMessage.js:183
    ReloadMessage chrome://messenger/content/aboutMessage.js:49
    _reloadTimeout chrome://messenger/content/aboutMessage.js:255
    (Async: setTimeout handler)
    observe chrome://messenger/content/aboutMessage.js:253
    ToggleInlineAttachment chrome://messenger/content/mailWindowOverlay.js:1645
    oncommand chrome://messenger/content/messenger.xhtml:1

and

mailnews.imap: 
Exception { name: "NS_ERROR_ILLEGAL_VALUE", message: "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIMsgMailNewsUrl.folder]", result: 2147942487, filename: "resource:///modules/ImapChannel.jsm", lineNumber: 181, columnNumber: 0, data: null, stack: "readFromLocalCache@resource:///modules/ImapChannel.jsm:181:7\nasyncOpen@resource:///modules/ImapChannel.jsm:139:16\nfetchMessage@resource:///modules/ImapService.jsm:185:10\nDisplayMessage@resource:///modules/ImapMessageService.jsm:87:30\ndisplayMessage@chrome://messenger/content/aboutMessage.js:183:18\nReloadMessage@chrome://messenger/content/aboutMessage.js:49:17\nobserve/this._reloadTimeout<@chrome://messenger/content/aboutMessage.js:255:9\nsetTimeout handler*observe@chrome://messenger/content/aboutMessage.js:253:29\nToggleInlineAttachment@chrome://messenger/content/mailWindowOverlay.js:1645:18\noncommand@chrome://messenger/content/messenger.xhtml:1:23\n", location: XPCWrappedNative_NoHelper }
​
columnNumber: 0
​
data: null
​
filename: "resource:///modules/ImapChannel.jsm"
​
lineNumber: 181
​
location: XPCWrappedNative_NoHelper { QueryInterface: QueryInterface(), filename: Getter, name: Getter, … }
​
message: "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIMsgMailNewsUrl.folder]"
​
name: "NS_ERROR_ILLEGAL_VALUE"
​
result: 2147942487
​
stack: "readFromLocalCache@resource:///modules/ImapChannel.jsm:181:7\nasyncOpen@resource:///modules/ImapChannel.jsm:139:16\nfetchMessage@resource:///modules/ImapService.jsm:185:10\nDisplayMessage@resource:///modules/ImapMessageService.jsm:87:30\ndisplayMessage@chrome://messenger/content/aboutMessage.js:183:18\nReloadMessage@chrome://messenger/content/aboutMessage.js:49:17\nobserve/this._reloadTimeout<@chrome://messenger/content/aboutMessage.js:255:9\nsetTimeout handler*observe@chrome://messenger/content/aboutMessage.js:253:29\nToggleInlineAttachment@chrome://messenger/content/mailWindowOverlay.js:1645:18\noncommand@chrome://messenger/content/messenger.xhtml:1:23\n"
​
<prototype>: ExceptionPrototype { toString: toString(), name: Getter, message: Getter, … }

I updated daily to 112.0a1 (2023-02-28) (64-bit).

I cannot read the main even in new tab, but the thread summary is shown if I click a collapsed thread in the list.

Oh, oddly, only newly received email can be shown as expected (the bug mail of this bug).

Summary: Cannot display email content when I select an email in the list → [imap-js] Cannot display email content when I select an email in the list
Version: unspecified → Thunderbird 112

After restarting Thunderbird Daily, the emails which were displayed correctly are not displayed. So, only emails received after launching Thunderbird are readable.

Ah, but only emails in "Inbox" are displayed correctly even received before launching Thunderbird. So, this must happen only with emails in sub-folders including "Sent", "Drafts", "Junk" and "Trash" folders.

Summary: [imap-js] Cannot display email content when I select an email in the list → [imap-js] Cannot display email content in sub-folders when I select an email in the list
Whiteboard: [snnot]
Whiteboard: [snnot] → [snnot3p]
You need to log in before you can comment on or make changes to this bug.