Closed Bug 1605937 Opened 5 years ago Closed 4 years ago

messages.query returns empty Message List when folder property is Trash or Junk Folder

Categories

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

x86_64
Linux
defect
Not set
normal

Tracking

(thunderbird_esr78 wontfix, thunderbird88 wontfix, thunderbird89 affected, thunderbird90?)

RESOLVED FIXED
91 Branch
Tracking Status
thunderbird_esr78 --- wontfix
thunderbird88 --- wontfix
thunderbird89 --- affected
thunderbird90 ? ---

People

(Reporter: fredy, Assigned: TbSync)

References

(Regressed 1 open bug)

Details

Attachments

(1 file, 1 obsolete file)

While browser.messages.list(<Trash or Junk Folder Object>) works fine, by returning all the messages inside those folders, using browser.messages.query and set as property the same <Trash or Junk Folder Object> returns an empty messageList.

Tested in version 68.3.1 in Linux.

Assignee: nobody → john
Status: NEW → ASSIGNED
Attachment #9223847 - Attachment is obsolete: true
See Also: → 1716022

When this has landed, query will be a lot slower, as we really search all messages now. We no longer use gloda (a database which holds information of used/read messages), as it fails to search all messages. We will make further changes to the pagination system in bug 1716022 to speed this up a little.

Target Milestone: --- → 91 Branch

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/25d61a7606e4
Remove usage of Gloda in messages.query(). r=darktrojan

Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Regressions: 1723509
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: