messenger.folders API can't handle a folder being both templates and drafts
Categories
(Thunderbird :: Add-Ons: Extensions API, defect)
Tracking
(thunderbird_esr115 wontfix)
| Tracking | Status | |
|---|---|---|
| thunderbird_esr115 | --- | wontfix |
People
(Reporter: 52qtuqm9, Assigned: john)
References
Details
Attachments
(1 file)
As per this Send Later bug, it is possible to designate the same folder for both templates and drafts, and if a user does that, then the API only returns one type for the folder.
If TB doesn't actually intend to allow the same folder to serve both purposes (that might be a bad idea, e.g., since it makes it ambiguous what should happen when a user double-clicks on a message in the folder, edits it, and saves it), then it probably needs to enforce that. On the other hand, if it is intended to be allowed, then the API probably needs to be updated so that consumers of the API have some way of identifying all of the special folder types a folder is.
This lack in the API makes it impossible for the Send Later add-on to use the API to locate all Drafts folders. I'm going to have to go back to locating Drafts folders in Experiment code to make Send Later work properly.
| Assignee | ||
Comment 1•2 years ago
|
||
Depends on D190564
Updated•2 years ago
|
| Assignee | ||
Updated•2 years ago
|
Pushed by john@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/8e9c53644a45
Add support for multiple folder types in MV3. r=mkmelin
Updated•1 year ago
|
Description
•