Open Bug 1857777 Opened 1 year ago Updated 1 year ago

messenger.messages.move silently fails to move message from Gmail Drafts folder to one of its subfolders

Categories

(Thunderbird :: Add-Ons: Extensions API, defect)

Thunderbird 115
defect

Tracking

(Not tracked)

People

(Reporter: 52qtuqm9, Unassigned)

Details

If you try to move a message in a Gmail account from [Gmail]/Drafts to [Gmail]/Drafts/some-subfolder-that-does-exist using messenger.messages.move, it silently fails to move the message.

See also bug 844494, which may or may not be relevant.

I'm not sure we can do anything about the move failing (see errors below), but at least the API should notice the error and bubble it back up to the caller.

[Parent 389751: Main Thread]: I/IMAP considering playing queued url:imap://jikamens@gmail.com@imap.gmail.com:993/onlinemove>UID>/[Gmail]/Drafts>74>/[Gmail]/Drafts/Send Later
[Parent 389751: Main Thread]: I/IMAP creating protocol instance to play queued url:imap://jikamens@gmail.com@imap.gmail.com:993/onlinemove>UID>/[Gmail]/Drafts>74>/[Gmail]/Drafts/Send Later
[Parent 389751: Main Thread]: D/IMAP proposed url = [Gmail]/Drafts folder for connection [Gmail]/Drafts has To Wait = false can run = true
[Parent 389751: Main Thread]: I/IMAP playing queued url:imap://jikamens@gmail.com@imap.gmail.com:993/onlinemove>UID>/[Gmail]/Drafts>74>/[Gmail]/Drafts/Send Later
[Parent 389751: Main Thread]: I/IMAP 7f6d64914900:imap.gmail.com:S-[Gmail]/Drafts:SetupSinkProxy: got m_imapMailFolderSink
[Parent 389751: IMAP]: I/IMAP 7f6d64f7a100:imap.gmail.com:S-[Gmail]/All Mail:ImapThreadMainLoop: idlePending set
[Parent 389751: IMAP]: I/IMAP 7f6d64914900:imap.gmail.com:S-[Gmail]/Drafts:ProcessCurrentURL: entering
[Parent 389751: IMAP]: I/IMAP 7f6d64914900:imap.gmail.com:S-[Gmail]/Drafts:ProcessCurrentURL:imap://jikamens%40gmail%2Ecom@imap.gmail.com:993/onlinemove%3EUID%3E/%5BGmail%5D/Drafts%3E74%3E/%5BGmail%5D/Drafts/Send%20Later:  = currentUrl
[Parent 389751: IMAP]: I/IMAP 7f6d64914900:imap.gmail.com:S-[Gmail]/Drafts:SendData: 67 uid move 74 "[Gmail]/Drafts/Send Later"
[Parent 389751: IMAP]: V/IMAP ReadNextLine [rv=0x0 stream=7f6d668f4240 nb=71 needmore=0]
[Parent 389751: IMAP]: I/IMAP 7f6d64914900:imap.gmail.com:S-[Gmail]/Drafts:CreateNewLineFromSocket: 67 NO [ALERT] Cannot MOVE messages out of the Drafts folder (Failure)
[Parent 389751: IMAP]: V/IMAP SetConnectionStatus(0x0)
[Parent 389751: IMAP]: D/IMAP URL failed with code 0x80550021 (imap://jikamens%40gmail%2Ecom@imap.gmail.com:993/onlinemove%3EUID%3E/%5BGmail%5D/Drafts%3E74%3E/%5BGmail%5D/Drafts/Send%20Later)
Summary: messenger.messages.move fails to move message from Gmail Drafts folder to one of its subfolders → messenger.messages.move silently fails to move message from Gmail Drafts folder to one of its subfolders
You need to log in before you can comment on or make changes to this bug.