Closed Bug 2088261 Opened 14 days ago Closed 14 days ago

Forward does nothing (OpenComposeWindow throws NS_ERROR_OUT_OF_MEMORY) for IMAP messages in a subfolder whose name contains a space

Categories

(Thunderbird :: Untriaged, defect)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 2088260

People

(Reporter: bugzillamail, Unassigned)

Details

Steps to reproduce

Wanted to forward an email from within a subfolder.
Thunderbird 159.0 (64-bit), Windows, release channel. The account is IMAP through Proton Mail Bridge (127.0.0.1).

Steps to reproduce:

Create a parent folder with a subfolder whose name contains a space, for example Folders/Parent/Sub Folder.
Move a message into that subfolder.
Select the message and press Forward. Right-click Forward As (Inline or As Attachment) fails the same way.

Actual results

Nothing happens and no compose window opens.
The Error Console shows:
Uncaught (in promise) NS_ERROR_OUT_OF_MEMORY: Component returned failure code: 0x8007000e [nsIMsgComposeService.OpenComposeWindow], from ComposeMessage at mailCommands.js:443 and _composeMsgByType at mailCommon.js:898

Summary: Forward does nothing (OpenComposeWindow throws NS_ERROR_OUT_OF_MEMORY) for IMAP messages in a subfolder whose name contains a space

Description:
Thunderbird 159.0 (64-bit), Windows, release channel. The account is IMAP through Proton Mail Bridge (127.0.0.1).

Steps to reproduce:

  1. Create a parent folder with a subfolder whose name contains a space, for example Folders/Parent/Sub Folder.
  2. Move a message into that subfolder.
  3. Select the message and press Forward. Right-click Forward As (Inline or As Attachment) fails the same way.

Actual result: Nothing happens and no compose window opens. The Error Console shows:
Uncaught (in promise) NS_ERROR_OUT_OF_MEMORY: Component returned failure code: 0x8007000e [nsIMsgComposeService.OpenComposeWindow], from ComposeMessage at mailCommands.js:443 and _composeMsgByType at mailCommon.js:898

Expected result: The Forward compose window opens.

Notes:

  • Reply works on the same message.
  • Forward works in the parent folder, even when the parent's name contains a space (for example "Ace Folder").
  • Forward works after moving the message to another folder.
  • Renaming the subfolder to remove the space fixes Forward right away.
  • Repair Folder, Repair Bridge, resubscribing and opening the message in a new tab don't help.
  • The Proton web app forwards the same messages fine.
  • This looks like the same error as Bugzilla 2036765 (EWS, fixed in 151.0.1), but on IMAP. The message or folder address with an encoded space (%20) probably isn't resolving, possibly related to Bugzilla 1588391.

Expected results

When clicked Forward, a new compose window is expected to open.

Status: UNCONFIRMED → RESOLVED
Closed: 14 days ago
Duplicate of bug: 2088260
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.