browser.folders.delete does not work with IMAP
Categories
(Thunderbird :: Add-Ons: Extensions API, defect)
Tracking
(thunderbird_esr78+ fixed)
People
(Reporter: darktrojan, Assigned: darktrojan)
Details
(Whiteboard: [TM:78.3.0])
Attachments
(1 file)
47 bytes,
text/x-phabricator-request
|
wsmwk
:
approval-comm-esr78+
|
Details | Review |
Calling browser.folders.delete on an IMAP folder throws NS_ERROR_ILLEGAL_VALUE
from the call to nsIMsgFolder.deleteSubFolders
.
Assignee | ||
Comment 1•4 years ago
•
|
||
nsImapMailFolder::DeleteSubFolders
insists on having a msgWindow
argument so that it can pop up a confirmation prompt. nsMsgDBFolder::DeleteSubFolders
does not. Without a msgWindow, it just moves the folder directly to the trash, or if it's already there, deletes it permanently.
Assignee | ||
Comment 2•4 years ago
|
||
Depends on D83911
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 3•4 years ago
|
||
Actually, let's not. There's dependencies that aren't done yet.
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/c01f0d70a895
Fix browser.folders.delete on IMAP accounts r=mkmelin
Updated•4 years ago
|
Comment 5•4 years ago
|
||
Uplift to 78?
Assignee | ||
Updated•4 years ago
|
Updated•4 years ago
|
Assignee | ||
Comment 6•4 years ago
|
||
Comment on attachment 9168351 [details]
Bug 1651308 - Fix browser.folders.delete on IMAP accounts
[Approval Request Comment]
Regression caused by (bug #): Never worked.
User impact if declined: This will continue to not work for extensions. Apparently it's hardly ever used but it might as well work.
Testing completed (on c-c, etc.): On beta for all of 81 cycle.
Risk to taking this patch (and alternatives if risky): "Meh."
Comment 7•4 years ago
|
||
Comment on attachment 9168351 [details]
Bug 1651308 - Fix browser.folders.delete on IMAP accounts
[Triage Comment]
Approved for esr78
Comment 8•4 years ago
|
||
bugherder uplift |
Thunderbird 78.3.0:
https://hg.mozilla.org/releases/comm-esr78/rev/e863b3edda80
Description
•